We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5857a0f commit b3e6551Copy full SHA for b3e6551
1 file changed
packages/tools/src/snap-test.ts
@@ -37,17 +37,15 @@ const casesDir = path.resolve('snap-tests');
37
38
const filter = process.argv[2] ?? ''; // Optional filter to run specific test cases
39
40
-// const tasks: Promise<void>[] = [];
+const tasks: Promise<void>[] = [];
41
for (const caseName of fs.readdirSync(casesDir)) {
42
if (caseName.startsWith('.')) continue; // Skip hidden files like .DS_Store
43
if (caseName.includes(filter)) {
44
- // FIXME: parallel run will cause [Error: Broken pipe (os error 32)] { code: 'GenericFailure' }
45
- // tasks.push(runTestCase(caseName));
46
- await runTestCase(caseName);
+ tasks.push(runTestCase(caseName));
47
}
48
49
50
-// await Promise.all(tasks);
+await Promise.all(tasks);
51
52
interface Steps {
53
ignoredPlatforms?: string[];
0 commit comments