Comments (7)
Weird. Thanks for opening an issue. Can you share your jest config?
from jest-stare.
Our jest config minus jest-stare is:
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"resolver": "jest-pnp-resolver",
"setupFiles": [
"react-app-polyfill/jsdom",
"<rootDir>/config/jest/setupTests.js"
],
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setup.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/tests/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.(spec|test).{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"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"
],
"reporters": [
"default",
"jest-junit"
],
"coverageReporters": [
"text",
"cobertura"
]
},
from jest-stare.
Thanks for helping me troubleshoot. I'm out of town for a couple days and get back to you when I try this config. Do you use 'jest --watch'?
from jest-stare.
Yes we use --watch
. Ok SG thanks!
from jest-stare.
Until I can try the config, do you think this is what you're running into? #25 (comment)
from jest-stare.
Hmm, that doesn't look similar, no. In particular, I wasn't getting any errors like are mentioned in that issue.
from jest-stare.
Stale issue message
from jest-stare.
Related Issues (20)
- Include Console output? HOT 2
- Show relative path of test file HOT 4
- Why do you have tag mochawesome in your repo? HOT 3
- CHANGELOG missing HOT 2
- Collapsible boxes don't open (2.0) HOT 8
- Creating directory fails HOT 4
- Question: ERR_INVALID_ARG_TYPE HOT 13
- Not Able to generate the snapshots in the report HOT 8
- Can't install jest-stare HOT 4
- Action Required: Fix Renovate Configuration
- Bootstrap 5 Incompatible HOT 2
- Need help on Jest Reporting in Azure DevOps Pipeline HOT 2
- Dependency Dashboard
- `/doc` is default in `.yarnclean` HOT 2
- Multiple failed snapshots in single test/it issue HOT 2
- Files with square brackets in filepath can't be expanded HOT 7
- Enhancement request: Simple dark mode HOT 1
- moment.js HOT 1
- Report Date HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest-stare.