You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> tdp_core@9.1.1-SNAPSHOT test:web /home/circleci/phovea
> test ! $(find tests -name "*.ts") || jest
sh: 1: test: tests/lineup/internal/cmds.test.ts: unexpected operator
PASS tests/cached.test.ts
FAIL tests/lineup/internal/cmds.test.ts
● Test suite failed to run
TypeError: Unable to require `.d.ts` file for file: index.ts.
This is usually the result of a faulty configuration or import. Make sure there is a `.js`, `.json` or another executable extension available alongside `index.ts`.
at compileFn (node_modules/ts-jest/dist/compiler/language-service.js:74:23)
at Object.compile (node_modules/ts-jest/dist/compiler/instance.js:81:25)
at TsJestTransformer.process (node_modules/ts-jest/dist/ts-jest-transformer.js:96:41)
at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:446:35)
at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:525:40)
at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:563:25)
FAIL tests/select3.test.ts
● Test suite failed to run
TypeError: Unable to require `.d.ts` file for file: index.ts.
This is usually the result of a faulty configuration or import. Make sure there is a `.js`, `.json` or another executable extension available alongside `index.ts`.
at compileFn (node_modules/ts-jest/dist/compiler/language-service.js:74:23)
at Object.compile (node_modules/ts-jest/dist/compiler/instance.js:81:25)
at TsJestTransformer.process (node_modules/ts-jest/dist/ts-jest-transformer.js:96:41)
at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:446:35)
at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:525:40)
at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:563:25)
Test Suites: 2 failed, 1 passed, 3 total
Tests: 2 passed, 2 total
Snapshots: 0 total
Time: 4.229s
Ran all test suites.
Expected behavior
The test should run without errors.
The text was updated successfully, but these errors were encountered:
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:
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.
config: This will affect to any snapshots or assertion against diagnostics messages
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.
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: