Skip to content

Commit

Permalink
chore: update testutils
Browse files Browse the repository at this point in the history
  • Loading branch information
Utsab Chowdhury authored and Utsab Chowdhury committed Feb 5, 2024
1 parent d2e65f4 commit 7ce0a66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integrations/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export const getAllTestMockDataFilePaths = (dirPath: string, destination: string
const globPattern = join(dirPath, '**', 'network.ts');
let testFilePaths = globSync(globPattern);
if (destination) {
const commonTestFilePaths = testFilePaths.filter((testFile) => testFile.includes('common'));
const commonTestFilePaths = testFilePaths.filter((testFile) =>
testFile.includes('test/integrations/common'),
);
testFilePaths = testFilePaths.filter((testFile) => testFile.includes(destination));
testFilePaths = [...commonTestFilePaths, ...testFilePaths];
}
Expand Down

0 comments on commit 7ce0a66

Please sign in to comment.