feat: migrate backend to cosmiconfig

This commit is contained in:
2023-05-31 14:04:05 +02:00
parent d8c79256c9
commit 0a76427ba8
70 changed files with 1786 additions and 1635 deletions
+4 -1
View File
@@ -8,7 +8,10 @@ describe('Schema', function () {
this.slow(10_000);
it('should validate against test files', async function () {
const errorsPerFile = await validateFiles(path.resolve('lib', 'schema'), path.resolve('test', 'resources'));
const errorsPerFile = await validateFiles(
path.resolve('lib', 'schema'),
path.resolve('test', 'resources'),
);
await mkdir('report', {recursive: true});
await writeReport(path.join('report', 'index.html'), errorsPerFile);