fix: the tsconfig spec generated for library contains several issues #13468
Annotations
2 errors and 1 warning
Test:
packages/@o3r/workspace/schematics/index.it.spec.ts#L137
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn run test
STDERR:
lerna notice cli v8.1.9
lerna info ci enabled·
OUTPUT:
,
Lerna (powered by Nx) Running target test for 3 projects:·
- test-app
- test-lib
- untouched-lib···
::group::❌ > untouched-lib:test·
Error: Your application tried to access ts-jest, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.
Required package: ts-jest
Required by: /home/runner/work/otter/it-tests/test-app-workspace4/libs/untouched-lib/
Require stack:
- /home/runner/work/otter/it-tests/test-app-workspace4/libs/untouched-lib/jest.config.js
- /home/runner/work/otter/otter/.cache/test-app/cache/jest-util-npm-29.7.0-ff1d59714b-10c0.zip/node_modules/jest-util/build/requireOrImportModule.js
- /home/runner/work/otter/otter/.cache/test-app/cache/jest-util-npm-29.7.0-ff1d59714b-10c0.zip/node_modules/jest-util/build/index.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/@jest-core-virtual-9990ebc370/3/otter/.cache/test-app/cache/@jest-core-npm-29.7.0-cef60d74c4-10c0.zip/node_modules/@jest/core/build/FailedTestsInteractiveMode.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/@jest-core-virtual-9990ebc370/3/otter/.cache/test-app/cache/@jest-core-npm-29.7.0-cef60d74c4-10c0.zip/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/@jest-core-virtual-9990ebc370/3/otter/.cache/test-app/cache/@jest-core-npm-29.7.0-cef60d74c4-10c0.zip/node_modules/@jest/core/build/watch.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/@jest-core-virtual-9990ebc370/3/otter/.cache/test-app/cache/@jest-core-npm-29.7.0-cef60d74c4-10c0.zip/node_modules/@jest/core/build/cli/index.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/@jest-core-virtual-9990ebc370/3/otter/.cache/test-app/cache/@jest-core-npm-29.7.0-cef60d74c4-10c0.zip/node_modules/@jest/core/build/index.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/jest-cli-virtual-d20567bc42/3/otter/.cache/test-app/cache/jest-cli-npm-29.7.0-9adb356180-10c0.zip/node_modules/jest-cli/build/run.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/jest-cli-virtual-d20567bc42/3/otter/.cache/test-app/cache/jest-cli-npm-29.7.0-9adb356180-10c0.zip/node_modules/jest-cli/build/index.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/jest-cli-virtual-d20567bc42/3/otter/.cache/test-app/cache/jest-cli-npm-29.7.0-9adb356180-10c0.zip/node_modules/jest-cli/bin/jest.js
- /home/runner/work/otter/it-tests/test-app-workspace4/.yarn/__virtual__/jest-virtual-cbaa8e867a/3/otter/.cache/test-app/cache/jest-npm-29.7.0-d8dd095b81-10c0.zip/node_modules/jest/bin/jest.js
at require$$0.Module._resolveFilename (/home/runner/work/otter/it-tests/test-app-workspace4/.pnp.cjs:27191:13)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at require$$0.Module._load (/home/runner/work/otter/it-tests/test-app-workspace4/.pnp.cjs:27082:31)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/home/runner/work/otter/it-tests/test-app-workspace4/libs/untouched-lib/jest.config.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at require$$0.Module._extensions..js (/home/runner/work/otter/it-tests/test-app-workspace4/.pnp.cjs:27235:35)
at Module.load (node:internal/modules/cjs/loader:1288:32)
::endgroup::
::group::❌ > test-lib:test·
Error: Your application tried to access ts-jest, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.
Required package: ts-jest
Required by: /home/runner/work/otter/it-tests/test-app-workspace4/libs/test-lib/
Require stack:
- /home/runner/work/otter/it-tests/test-app-workspace4/libs/test-lib/jest
|
Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading