chore: add unit test to high frequency hooks (#17617)
This commit is contained in:
@@ -98,7 +98,7 @@ const config: Config = {
|
||||
|
||||
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
|
||||
moduleNameMapper: {
|
||||
'^@/components/(.*)$': '<rootDir>/components/$1',
|
||||
'^@/(.*)$': '<rootDir>/$1',
|
||||
'^lodash-es$': 'lodash',
|
||||
},
|
||||
|
||||
@@ -133,7 +133,7 @@ const config: Config = {
|
||||
// restoreMocks: false,
|
||||
|
||||
// The root directory that Jest should scan for tests and modules within
|
||||
// rootDir: undefined,
|
||||
rootDir: './',
|
||||
|
||||
// A list of paths to directories that Jest should use to search for files in
|
||||
// roots: [
|
||||
|
Reference in New Issue
Block a user