I am getting error while testing #1744
Replies: 1 comment
-
Hi @venky19666 , |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please help me
react-scripts test -- --config=jest.config.js
Invalid testPattern --config=jest.config.js|--watch|--config|{"roots":["\src"],"collectCoverageFrom":["src\\*.{js,jsx,ts,tsx}","!src\\.d.ts"],"setupFiles":["D:\projects\aws\tap\node_modules\.pnpm\react-app-polyfill@3.0.0\node_modules\react-app-polyfill\jsdom.js"],"setupFilesAfterEnv":["\src\setupTests.ts"],"testMatch":["\src\\tests\\.{js,jsx,ts,tsx}","\src\\.{spec,test}.{js,jsx,ts,tsx}"],"testEnvironment":"jsdom","transform":{"^.+\.(js|jsx|mjs|cjs|ts|tsx)$":"D:\projects\aws\tap\node_modules\.pnpm\react-scripts@5.0.1_@babel+plugin-syntax-flow@7.22.5_@babel+plugin-transform-react-jsx@7.22.1_fojonpx2bszkwleihzx6fojaei\node_modules\react-scripts\config\jest\babelTransform.js","^.+\.css$":"D:\projects\aws\tap\node_modules\.pnpm\react-scripts@5.0.1_@babel+plugin-syntax-flow@7.22.5_@babel+plugin-transform-react-jsx@7.22.1_fojonpx2bszkwleihzx6fojaei\node_modules\react-scripts\config\jest\cssTransform.js","^(?!.\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)":"D:\projects\aws\tap\node_modules\.pnpm\react-scripts@5.0.1_@babel+plugin-syntax-flow@7.22.5_@babel+plugin-transform-react-jsx@7.22.1_fojonpx2bszkwleihzx6fojaei\node_modules\react-scripts\config\jest\fileTransform.js"},"transformIgnorePatterns":["[\\\]node_modules[\\\].+\.(js|jsx|mjs|cjs|ts|tsx)$","^.+\.module\.(css|sass|scss)$"],"modulePaths":["D:\projects\aws\tap\src"],"moduleNameMapper":{"^react-native$":"react-native-web","^.+\.module\.(css|sass|scss)$":"identity-obj-proxy"},"moduleFileExtensions":["web.js","js","web.ts","ts","web.tsx","tsx","json","web.jsx","jsx","node"],"watchPlugins":["jest-watch-typeahead\filename","jest-watch-typeahead\testname"],"resetMocks":true,"rootDir":"D:\projects\aws\tap"}|--env|D:\projects\aws\tap\node_modules.pnpm\node_modules\jest-environment-jsdom\build\index.js supplied. Running all tests instead.
Invalid testPattern --config=jest.config.js|--watch|--config|{"roots":["\src"],"collectCoverageFrom":["src\\.{js,jsx,ts,tsx}","!src\**\.d.ts"],"setupFiles":["D:\projects\aws\tap\node_modules\.pnpm\react-app-polyfill@3.0.0\node_modules\react-app-polyfill\jsdom.js"],"setupFilesAfterEnv":["\src\setupTests.ts"],"testMatch":["\src\\tests\\.{js,jsx,ts,tsx}","\src\**\.{spec,test}.{js,jsx,ts,tsx}"],"testEnvironment":"jsdom","transform":{"^.+\.(js|jsx|mjs|cjs|ts|tsx)$":"D:\projects\aws\tap\node_modules\.pnpm\react-scripts@5.0.1_@babel+plugin-syntax-flow@7.22.5_@babel+plugin-transform-react-jsx@7.22.1_fojonpx2bszkwleihzx6fojaei\node_modules\react-scripts\config\jest\babelTransform.js","^.+\.css$":"D:\projects\aws\tap\node_modules\.pnpm\react-scripts@5.0.1_@babel+plugin-syntax-flow@7.22.5_@babel+plugin-transform-react-jsx@7.22.1_fojonpx2bszkwleihzx6fojaei\node_modules\react-scripts\config\jest\cssTransform.js","^(?!.*\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)":"D:\projects\aws\tap\node_modules\.pnpm\react-scripts@5.0.1_@babel+plugin-syntax-flow@7.22.5_@babel+plugin-transform-react-jsx@7.22.1_fojonpx2bszkwleihzx6fojaei\node_modules\react-scripts\config\jest\fileTransform.js"},"transformIgnorePatterns":["[\\\]node_modules[\\\].+\.(js|jsx|mjs|cjs|ts|tsx)$","^.+\.module\.(css|sass|scss)$"],"modulePaths":["D:\projects\aws\tap\src"],"moduleNameMapper":{"^react-native$":"react-native-web","^.+\.module\.(css|sass|scss)$":"identity-obj-proxy"},"moduleFileExtensions":["web.js","js","web.ts","ts","web.tsx","tsx","json","web.jsx","jsx","node"],"watchPlugins":["jest-watch-typeahead\filename","jest-watch-typeahead\testname"],"resetMocks":true,"rootDir":"D:\projects\aws\tap"}|--env|D:\projects\aws\tap\node_modules.pnpm\node_modules\jest-environment-jsdom\build\index.js supplied. Running all tests instead.
FAIL src/pages/tasks/tasks.spec.tsx
● Test suite failed to run
Beta Was this translation helpful? Give feedback.
All reactions