Reformat project into workspaces
This commit is contained in:
1 parent
20bb10114b
commit
c3e2cf5ed3
38 files changed
+4863
-4186
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { run } from 'node:test';
|
||||
import { globSync } from 'node:fs';
|
||||
import { spec } from 'node:test/reporters';
|
||||
|
||||
const files = globSync('src/**/*.test.ts');
|
||||
|
||||
if (files.length === 0) {
|
||||
console.error('❌ No test files found in src/**/*.test.ts');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
run({ files })
|
||||
.compose(new spec())
|
||||
.pipe(process.stdout);
|
||||
Reference in new issue
Block a user