Skip to content

Commit

Permalink
Include all good invX in set
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryDanielson authored Sep 16, 2024
1 parent 6f14598 commit 705474f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('dependencyExtractor', () => {
bar
} from 'inv8';
`;
expect(extractor.extract(code)).toEqual(new Set(['inv4', 'inv5']));
expect(extractor.extract(code)).toEqual(new Set(['inv5', 'inv6', 'inv7', 'inv8']));

Check failure on line 112 in packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.test.js

View workflow job for this annotation

GitHub Actions / Lint

Replace `new·Set(['inv5',·'inv6',·'inv7',·'inv8'])` with `⏎······new·Set(['inv5',·'inv6',·'inv7',·'inv8']),⏎····`
});

it('should extract dependencies from `export` statements', () => {
Expand Down

0 comments on commit 705474f

Please sign in to comment.