Error sampling for bar/assertion failures — 309/941
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -280,7 +280,7 @@ test.describe('Hyperscript behavioral tests', () => {
|
|||||||
console.log(` [${info.count}x] ${e}`);
|
console.log(` [${info.count}x] ${e}`);
|
||||||
}
|
}
|
||||||
// Show samples of "bar" error specifically
|
// Show samples of "bar" error specifically
|
||||||
const barSamples = results.filter(r => !r.p && (r.e||'').endsWith('bar') || (r.e||'').endsWith('bar ')).slice(0, 8);
|
const barSamples = results.filter(r => !r.p && (r.e||'').match(/exception: \w+ *$/)).slice(0, 10);
|
||||||
if (barSamples.length > 0) {
|
if (barSamples.length > 0) {
|
||||||
console.log(` "bar" error samples (${barSamples.length}):`);
|
console.log(` "bar" error samples (${barSamples.length}):`);
|
||||||
for (const s of barSamples) console.log(` ${s.s}/${s.n}`);
|
for (const s of barSamples) console.log(` ${s.s}/${s.n}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user