-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CircleCI Jest error with ts-jest@25.3.0
#349
Comments
After a lot of test-and-error CircleCI builds I found the error between the last successful build #1559 and #1561 with the following two diff in the dependency logs: ├─┬ jest@25.1.0
- │ ├── @jest/core@25.2.3
+ │ ├── @jest/core@25.2.4
│ ├── import-local@3.0.2
- │ └── jest-cli@25.2.3
+ │ └── jest-cli@25.2.4 - ├─┬ ts-jest@25.2.1
+ ├─┬ ts-jest@25.3.0
│ ├── bs-logger@0.2.6
│ ├── buffer-from@1.1.1
│ ├── fast-json-stable-stringify@2.1.0
│ ├── json5@2.1.2
│ ├── lodash.memoize@4.1.2
│ ├── make-error@1.3.6
- │ ├── mkdirp@0.5.4 deduped
+ │ ├── mkdirp@1.0.3
│ ├── resolve@1.15.1 deduped
- │ ├── semver@5.7.1
- │ └── yargs-parser@16.0.1
+ │ ├── semver@6.3.0
+ │ └── yargs-parser@18.1.2 Since jest itself has not changed, the error must be caused by ts-jest. Reverting the ts-jest version to the last version 25.2.1 fixed the CircleCI problem. The ts-jest changelog v25.3.0 states a breaking change:
Furthermore, we cache the npm dependencies on CircleCI for a specific branch and only update them when the package.json is changed OR a new branch is pushed. |
Explanation what has happened:
I expect other branches (also from The fix would be switch to the - "ts-jest": "^25.2.1",
+ "ts-jest": "~25.2.1", @anita-steiner and @dvvanessastoiber would that work that fix for you? |
Observed behavior
lineupjs4
branch from 30.03.2020thinkh/331_string-filter-compatibility
branch from 30.03.2020thinkh/347_fix-overview-column
branch from 01.04.2020lineupjs4
branch from 01.04.2020Expected behavior
The test should run without errors.
The text was updated successfully, but these errors were encountered: