Skip to content

Commit

Permalink
fix: jest no-cache option (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-jeb committed Oct 31, 2022
1 parent 5b01490 commit 4cc057c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/jest/scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function checkJunit() {
}

simpleAppTestOptions=(
"yarn test||1|1|3|3|||"
"yarn test|--no-cache|1|1|3|3|||"
"yarn test|--test-name-pattern=^AppComponent should create the app$|1|1|1|3|2||"
"yarn test|--reporters=default;--reporters=jest-junit|1|1|3|3||checkJunit"
)
Expand Down
8 changes: 4 additions & 4 deletions packages/jest/src/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"description": "Respect the \"browser\" field in package.json when resolving modules. Some packages export different versions based on whether they are operating in node.js or a browser.",
"type": "boolean"
},
"cache": {
"description": "Whether to use the transform cache. Disable the cache using --no-cache.",
"type": "boolean"
},
"cacheDirectory": {
"description": "The directory where Jest should store its cached dependency information.",
"type": "string"
Expand Down Expand Up @@ -228,10 +232,6 @@
"type": "string"
}
},
"no-cache": {
"description": "An alternative way to specify --cache=false",
"type": "boolean"
},
"noStackTrace": {
"description": "Disables stack trace in test results output",
"type": "boolean"
Expand Down

0 comments on commit 4cc057c

Please sign in to comment.