-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move jest and babel on lib folder (#2653)
- Loading branch information
1 parent
fbe3d31
commit 7666456
Showing
8 changed files
with
31 additions
and
37 deletions.
There are no files selected for viewing
File renamed without changes.
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,11 +1,11 @@ | ||
module.exports = { | ||
moduleNameMapper: { | ||
'\\.(css|less)$': '<rootDir>/mocks/styleMock.js', | ||
'\\.(css|less)$': '<rootDir>/tests/styleMock.ts', | ||
}, | ||
transform: { | ||
'^.+\\.(ts|tsx|js|jsx)?$': 'babel-jest', | ||
}, | ||
setupFilesAfterEnv: ['<rootDir>/mocks/setup.js'], | ||
setupFilesAfterEnv: ['<rootDir>/tests/setup.ts'], | ||
modulePaths: ['<rootDir>/node_modules'], | ||
testEnvironment: 'jest-environment-jsdom', | ||
} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/* eslint-disable @typescript-eslint/no-empty-function */ | ||
window.focus = () => {} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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