Skip to content

Commit

Permalink
this
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolk committed Dec 17, 2024
1 parent c68ed7c commit b909e6a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/get_unit_test_file_list.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { glob } from 'glob';

let result = await glob('packages/**/*.test.js');
let result = await glob('packages/**/*.test.js', {
absolute: true,
});
result = result.filter((result) => !result.includes('integration-tests'));
result.push(
...(await glob('packages/integration-tests/lib/test-in-memory/**/*.test.js'))
...(await glob('packages/integration-tests/lib/test-in-memory/**/*.test.js', {
absolute: true,
}))
);

console.log(result.join(' '));

0 comments on commit b909e6a

Please sign in to comment.