Skip to content

Commit

Permalink
test(SWC): add swc/jest
Browse files Browse the repository at this point in the history
  • Loading branch information
NasgulNexus committed Apr 24, 2024
1 parent 2889217 commit c395300
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 c395300

Please sign in to comment.