diff --git a/.watchmanconfig b/.watchmanconfig new file mode 100644 index 00000000000..29e4f231e9e --- /dev/null +++ b/.watchmanconfig @@ -0,0 +1,3 @@ +{ + "ignore_dirs": ["node_modules/", "public/"] +} diff --git a/jest.config.js b/jest.config.js index 83eae46cb92..b4a34a5abda 100644 --- a/jest.config.js +++ b/jest.config.js @@ -19,7 +19,7 @@ const config = { // Those packages are ESM, so we need them to be processed by Babel transformIgnorePatterns: ['/node_modules/(?!(redent|strip-indent)/)'], coverageDirectory: '/coverage', - moduleDirectories: ['/node_modules', '/app/javascript'], + moduleDirectories: ['node_modules', '/app/javascript'], moduleNameMapper: { '\\.svg$': '/app/javascript/__mocks__/svg.js', },