20 lines
635 B
JavaScript
20 lines
635 B
JavaScript
import fs from 'node:fs/promises';
|
|
import path from 'node:path';
|
|
|
|
const reportPath = path.join(process.cwd(), 'artifacts', 'analysis', 'parity-report.json');
|
|
await fs.mkdir(path.dirname(reportPath), { recursive: true });
|
|
|
|
const report = {
|
|
generatedAt: new Date().toISOString(),
|
|
strictParityMode: true,
|
|
suites: [
|
|
{ name: 'bootstrap-load', status: 'planned' },
|
|
{ name: 'gateway-login-smoke', status: 'planned' },
|
|
{ name: 'rest-rate-limit', status: 'planned' },
|
|
{ name: 'voice-transport', status: 'planned' }
|
|
]
|
|
};
|
|
|
|
await fs.writeFile(reportPath, JSON.stringify(report, null, 2));
|
|
console.log('Wrote', reportPath);
|