-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(workspace): 🤖 fixed tests failing due to jest.roots
This addresses jestjs/jest#9569
- Loading branch information
1 parent
ab76b8c
commit 3b29eb9
Showing
5 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
const { name } = require('./package') | ||
const base = require('../../jest.config.base.js') | ||
|
||
module.exports = { | ||
...base, | ||
preset: undefined, | ||
name: '@jimmy-guzman/portfolio', | ||
displayName: '@jimmy-guzman/portfolio', | ||
roots: ['<rootDir>/src'], | ||
name, | ||
displayName: name, | ||
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const base = require('./jest.config.base.js') | ||
|
||
module.exports = { | ||
...base, | ||
projects: ['<rootDir>/{packages,apps}/*/jest.config.js'] | ||
projects: ['<rootDir>/{packages,apps}/*/jest.config.js'], | ||
...base | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
const { name } = require('./package') | ||
const base = require('../../jest.config.base.js') | ||
|
||
module.exports = { | ||
...base, | ||
name: '@jimmy-guzman/components', | ||
displayName: '@jimmy-guzman/components' | ||
roots: ['<rootDir>/src'], | ||
name, | ||
displayName: name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
const { name } = require('./package') | ||
const base = require('../../jest.config.base.js') | ||
|
||
module.exports = { | ||
...base, | ||
name: '@jimmy-guzman/hooks', | ||
displayName: '@jimmy-guzman/hooks' | ||
roots: ['<rootDir>/src'], | ||
name, | ||
displayName: name | ||
} |