diff --git a/test/Schema.spec.ts b/test/Schema.spec.ts index 2fb03daf..be690235 100644 --- a/test/Schema.spec.ts +++ b/test/Schema.spec.ts @@ -37,12 +37,12 @@ export class ValidateTestFiles { unexpected = unexpected || errorsPerFile[file].some((error) => !error.expected); }); - expect(unexpected).to.be.equal(false); - mkdirSync('report', { recursive: true, }); await writeReport(join('report', 'index.html'), errorsPerFile); + + expect(unexpected).to.be.equal(false); } }