mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 12:20:20 +01:00
Moved jest import into config
This commit is contained in:
parent
dc62e6c395
commit
610280bdf5
|
|
@ -1,4 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
moduleDirectories: ['.', 'node_modules'],
|
moduleDirectories: ['.', 'node_modules'],
|
||||||
setupFilesAfterEnv: ['<rootDir>/jest.setup.js']
|
setupFilesAfterEnv: [
|
||||||
|
'@testing-library/jest-dom/extend-expect',
|
||||||
|
'<rootDir>/jest.setup.js'
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
import '@testing-library/jest-dom/extend-expect';
|
|
||||||
|
|
||||||
import preloadAll from 'jest-next-dynamic';
|
import preloadAll from 'jest-next-dynamic';
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user