Skip to content

Commit

Permalink
test(*): drop toBePermutationOf helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jo3-l committed Aug 4, 2024
1 parent ec5a749 commit 802bcac
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 73 deletions.
1 change: 0 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const config: Config.InitialOptions = {
'<rootDir>/src/index\\.ts', // library entry point
'<rootDir>/src/preset/.*\\.ts', // presets
],
setupFilesAfterEnv: ['<rootDir>/test/jest.setup.ts'],
};

export default config;
71 changes: 0 additions & 71 deletions test/jest.setup.ts

This file was deleted.

2 changes: 1 addition & 1 deletion test/matcher/regexp/RegExpMatcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('matching', () => {
}

const matcher = new RegExpMatcher({ blacklistedTerms: assignIncrementingIds(patterns.map(parseRawPattern)) });
expect(matcher.getAllMatches(input)).toBePermutationOf(expected);
expect(matcher.getAllMatches(input)).toStrictEqual(expected);
});
});

Expand Down

0 comments on commit 802bcac

Please sign in to comment.