Skip to content

Commit

Permalink
revert jest config chnages on bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bz888 committed Mar 25, 2024
1 parent 2308b43 commit 6124174
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ module.exports = {

// A set of global variables that need to be available in all test environments
// globals: {},
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},

// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
// maxWorkers: "50%",
Expand Down Expand Up @@ -181,7 +176,12 @@ module.exports = {

// A map from regular expressions to paths to transformers
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest',
'^.+\\.(ts|tsx)?$': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json'
}
],
'^.+\\.(js|jsx)$': 'babel-jest',
},

Expand Down

0 comments on commit 6124174

Please sign in to comment.