Skip to content

Commit

Permalink
test(SWC): add swc/jest (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
NasgulNexus authored Apr 24, 2024
1 parent 2889217 commit d504f82
Show file tree
Hide file tree
Showing 3 changed files with 1,537 additions and 891 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
moduleFileExtensions: ['js', 'json', 'ts', 'tsx'],
rootDir: '.',
transform: {
'\\.[jt]sx?$': ['ts-jest', {tsconfig: './tsconfig.test.json'}],
'\\.(ts|tsx)$': ['@swc/jest'],
},
transformIgnorePatterns: ['node_modules/(?!(@gravity-ui|tinygesture))'],
coverageDirectory: './coverage',
Expand Down
Loading

0 comments on commit d504f82

Please sign in to comment.