diff --git a/scripts/get_unit_test_file_list.ts b/scripts/get_unit_test_file_list.ts index ed22535761..d5cdf5d245 100644 --- a/scripts/get_unit_test_file_list.ts +++ b/scripts/get_unit_test_file_list.ts @@ -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(' '));