Skip to content

Commit c69b17c

Browse files
committed
Fix SearchSource test
1 parent c607e87 commit c69b17c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/jest-cli/src/__tests__/SearchSource.test.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,7 @@ describe('SearchSource', () => {
121121
.map(absPath => path.relative(rootDir, absPath))
122122
.sort();
123123
expect(relPaths).toEqual(
124-
[
125-
path.normalize('.hiddenFolder/not-really-a-test.txt'),
126-
path.normalize('__testtests__/not-really-a-test.txt'),
127-
].sort(),
124+
[path.normalize('__testtests__/not-really-a-test.txt')].sort(),
128125
);
129126
});
130127
});
@@ -145,10 +142,7 @@ describe('SearchSource', () => {
145142
.map(absPath => path.relative(rootDir, absPath))
146143
.sort();
147144
expect(relPaths).toEqual(
148-
[
149-
path.normalize('.hiddenFolder/not-really-a-test.txt'),
150-
path.normalize('__testtests__/not-really-a-test.txt'),
151-
].sort(),
145+
[path.normalize('__testtests__/not-really-a-test.txt')].sort(),
152146
);
153147
});
154148
});

0 commit comments

Comments
 (0)