Skip to content

Commit

Permalink
refactor: use @swc/jest to speedup test execution (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu authored and derberg committed Oct 4, 2022
1 parent a3b85e7 commit fab07e1
Show file tree
Hide file tree
Showing 3 changed files with 534 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { Config } from '@jest/types';

const config: Config.InitialOptions = {
coverageReporters: [
'json-summary',
'lcov',
'text'
],
preset: 'ts-jest',
transform: {
"^.+\\.(t|j)sx?$": "@swc/jest",
},
// The root of your source code, typically /src
// `<rootDir>` is a token Jest substitutes
roots: ['<rootDir>'],
Expand Down
Loading

0 comments on commit fab07e1

Please sign in to comment.