Skip to content

Commit

Permalink
Fix SearchSource test
Browse files Browse the repository at this point in the history
  • Loading branch information
palmerj3 committed Jul 26, 2018
1 parent c607e87 commit c69b17c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/jest-cli/src/__tests__/SearchSource.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ describe('SearchSource', () => {
.map(absPath => path.relative(rootDir, absPath))
.sort();
expect(relPaths).toEqual(
[
path.normalize('.hiddenFolder/not-really-a-test.txt'),
path.normalize('__testtests__/not-really-a-test.txt'),
].sort(),
[path.normalize('__testtests__/not-really-a-test.txt')].sort(),
);
});
});
Expand All @@ -145,10 +142,7 @@ describe('SearchSource', () => {
.map(absPath => path.relative(rootDir, absPath))
.sort();
expect(relPaths).toEqual(
[
path.normalize('.hiddenFolder/not-really-a-test.txt'),
path.normalize('__testtests__/not-really-a-test.txt'),
].sort(),
[path.normalize('__testtests__/not-really-a-test.txt')].sort(),
);
});
});
Expand Down

0 comments on commit c69b17c

Please sign in to comment.