test: refresh real WASM harness evidence
This commit is contained in:
@@ -93,7 +93,14 @@ try {
|
||||
await removeChromeProfile(chromeProfile)
|
||||
}
|
||||
await new Promise((resolveServer) => server.close(resolveServer))
|
||||
const verification = { schemaVersion: 1, generatedAt: new Date().toISOString(), headers: { coop: 'same-origin', coep: 'require-corp' }, browsers: results, status: results.every((result) => result.status === 'pass') ? 'pass' : 'partial' }
|
||||
// Keep committed evidence stable: Chrome's temporary profile paths, timestamps
|
||||
// and verbose stderr are diagnostics, not compatibility claims.
|
||||
const verification = {
|
||||
schemaVersion: 1,
|
||||
headers: { coop: 'same-origin', coep: 'require-corp' },
|
||||
browsers: results.map(({ stdout, stderr, ...result }) => result),
|
||||
status: results.every((result) => result.status === 'pass') ? 'pass' : 'partial',
|
||||
}
|
||||
await writeFile(resolve(root, 'config/occt-browser-verification.json'), `${JSON.stringify(verification, null, 2)}\n`)
|
||||
console.log(JSON.stringify(verification, null, 2))
|
||||
if (results.some((result) => result.status !== 'pass')) process.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user