chore: angular 19 #9595
34 passed, 31 failed and 2 skipped
✅ @ama-sdk/create/dist-test/it-report.xml
7 tests were completed in 624s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 7✅ | 612s |
✅ Create new sdk command
Create new sdk command should generate a light SDK when the specification is provided
✅ Create new sdk command should generate a light SDK when the specification is provided
Create new sdk command should generate a full SDK when the specification is provided
✅ Create new sdk command should generate a full SDK when the specification is provided
Create new sdk command should generate a full SDK when the specification is provided as npm dependency
✅ Create new sdk command should generate a full SDK when the specification is provided as npm dependency
Create new sdk command should generate an SDK with no package scope
✅ Create new sdk command should generate an SDK with no package scope
Create new sdk command should generate an empty SDK ready to be used
✅ Create new sdk command should generate an empty SDK ready to be used
Create new sdk command should fail when there is an error
✅ Create new sdk command should fail when there is an error
Create new sdk command should use pinned versions when --exact-o3r-version is used
✅ Create new sdk command should use pinned versions when --exact-o3r-version is used
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
❌ @o3r/analytics/dist-test/it-report.xml
2 tests were completed in 127s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add analytics | 2❌ | 112s |
❌ ng add analytics
ng add analytics should add analytics to an application
❌ ng add analytics should add analytics to an application
Error: expect(received).not.toThrow()
ng add analytics should add analytics to a library
❌ ng add analytics should add analytics to a library
Error: expect(received).not.toThrow()
❌ @o3r/apis-manager/dist-test/it-report.xml
1 tests were completed in 69s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1❌ | 53s |
❌ new otter application with apis-manager
new otter application with apis-manager should add apis-manager to existing application
❌ new otter application with apis-manager should add apis-manager to existing application
Error: expect(received).not.toThrow()
❌ @o3r/application/dist-test/it-report.xml
1 tests were completed in 40s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1❌ | 27s |
❌ new Angular application
new Angular application should add Otter Application to existing Angular app
❌ new Angular application should add Otter Application to existing Angular app
Error: expect(received).not.toThrow()
❌ @o3r/components/dist-test/it-report.xml
8 tests were completed in 725s with 6 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 703s | ||
ng add components | 2❌ | 137s |
✅ check metadata migration
check metadata migration should not throw
✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
✅ check metadata migration should throw because of unused migration data
❌ ng add components
ng add components should add components to an application
❌ ng add components should add components to an application
Error: expect(received).not.toThrow()
ng add components should add components to a library
❌ ng add components should add components to a library
Error: expect(received).not.toThrow()
❌ @o3r/configuration/dist-test/it-report.xml
2 tests were completed in 148s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 2❌ | 132s |
❌ new otter application with configuration
new otter application with configuration should add configuration to an application
❌ new otter application with configuration should add configuration to an application
Error: expect(received).not.toThrow()
new otter application with configuration should add configuration to a library
❌ new otter application with configuration should add configuration to a library
Error: expect(received).not.toThrow()
❌ @o3r/core/dist-test/it-report.xml
1 tests were completed in 456s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 1❌ | 431s |
❌ new otter application
new otter application should build empty app
❌ new otter application should build empty app
Error: expect(received).not.toThrow()
❌ @o3r/create/dist-test/it-report.xml
3 tests were completed in 501s with 1 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 1✅ | 2❌ | 487s |
❌ Create new otter project command
Create new otter project command should generate a project with an application
❌ Create new otter project command should generate a project with an application
Error: expect(received).not.toThrow()
Create new otter project command should generate a project with a library
❌ Create new otter project command should generate a project with a library
Error: expect(received).not.toThrow()
Create new otter project command should generate a project with an application with --exact-o3r-version
✅ Create new otter project command should generate a project with an application with --exact-o3r-version
❌ @o3r/design/dist-test/it-report.xml
1 tests were completed in 67s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with Design | 1❌ | 50s |
❌ new otter application with Design
new otter application with Design should add design to existing application
❌ new otter application with Design should add design to existing application
Error: expect(received).not.toThrow()
❌ @o3r/eslint-config-otter/dist-test/it-report.xml
2 tests were completed in 124s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add eslint-config | 2❌ | 109s |
❌ ng add eslint-config
ng add eslint-config should add eslint-config to an application
❌ ng add eslint-config should add eslint-config to an application
Error: expect(received).not.toThrow()
ng add eslint-config should add eslint-config to a library
❌ ng add eslint-config should add eslint-config to a library
Error: expect(received).not.toThrow()
❌ @o3r/eslint-config/dist-test/it-report.xml
3 tests were completed in 423s with 1 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with eslint config | 1✅ | 2❌ | 401s |
❌ new otter application with eslint config
new otter application with eslint config should add eslint config to existing application
❌ new otter application with eslint config should add eslint config to existing application
Error: expect(received).not.toThrow()
new otter application with eslint config should add eslint config to existing library
❌ new otter application with eslint config should add eslint config to existing library
Error: expect(received).not.toThrow()
new otter application with eslint config should add eslint config to existing repository
✅ new otter application with eslint config should add eslint config to existing repository
❌ @o3r/extractors/dist-test/it-report.xml
3 tests were completed in 354s with 1 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
aggregate migration scripts | 1✅ | 291s | ||
ng add extractors | 2❌ | 329s |
✅ aggregate migration scripts
aggregate migration scripts should create migration scripts including lib content
✅ aggregate migration scripts should create migration scripts including lib content
❌ ng add extractors
ng add extractors should add extractors to an application
❌ ng add extractors should add extractors to an application
Error: expect(received).not.toThrow()
ng add extractors should add extractors to a library
❌ ng add extractors should add extractors to a library
Error: expect(received).not.toThrow()
❌ @o3r/localization/dist-test/it-report.xml
8 tests were completed in 798s with 6 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 775s | ||
ng add otter localization | 2❌ | 199s |
✅ check metadata migration
check metadata migration should not throw
✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
✅ check metadata migration should throw because of unused migration data
❌ ng add otter localization
ng add otter localization should add localization to an application
❌ ng add otter localization should add localization to an application
Error: expect(received).not.toThrow()
ng add otter localization should add localization to a library
❌ ng add otter localization should add localization to a library
Error: expect(received).not.toThrow()
✅ @o3r/new-version/dist-test/it-report.xml
1 tests were completed in 59s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
undefined | 1✅ | 46s |
✅ undefined
should add Otter Application to existing Angular app
✅ should add Otter Application to existing Angular app
✅ @o3r/pipeline/dist-test/it-report.xml
2 tests were completed in 67s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter project | 2✅ | 55s |
✅ new otter project
new otter project should add a GitHub pipeline to existing project
✅ new otter project should add a GitHub pipeline to existing project
new otter project should add a GitHub pipeline to existing project with custom runner and registry
✅ new otter project should add a GitHub pipeline to existing project with custom runner and registry
❌ @o3r/rules-engine/dist-test/it-report.xml
2 tests were completed in 164s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add rules-engine | 2❌ | 143s |
❌ ng add rules-engine
ng add rules-engine should add rules engine to an application
❌ ng add rules-engine should add rules engine to an application
Error: expect(received).not.toThrow()
ng add rules-engine should add rules engine to a library
❌ ng add rules-engine should add rules engine to a library
Error: expect(received).not.toThrow()
❌ @o3r/stylelint-plugin/dist-test/it-report.xml
2 tests were completed in 130s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add stylelint-plugin | 2❌ | 117s |
❌ ng add stylelint-plugin
ng add stylelint-plugin should add stylelint-plugin to an application
❌ ng add stylelint-plugin should add stylelint-plugin to an application
Error: expect(received).not.toThrow()
ng add stylelint-plugin should add stylelint-plugin to a library
❌ ng add stylelint-plugin should add stylelint-plugin to a library
Error: expect(received).not.toThrow()
❌ @o3r/styling/dist-test/it-report.xml
8 tests were completed in 771s with 6 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 749s | ||
ng add styling | 2❌ | 179s |
✅ check metadata migration
check metadata migration should not throw
✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
✅ check metadata migration should throw because of unused migration data
❌ ng add styling
ng add styling should add styling to an application
❌ ng add styling should add styling to an application
Error: expect(received).not.toThrow()
ng add styling should add styling to a library
❌ ng add styling should add styling to a library
Error: expect(received).not.toThrow()
❌ @o3r/testing/dist-test/it-report.xml
4 tests were completed in 141s with 0 passed, 2 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add testing | 2❌ | 2⚪ | 125s |
❌ ng add testing
ng add testing should add testing to an application
❌ ng add testing should add testing to an application
Error: expect(received).not.toThrow()
ng add testing should add testing to an application and fixture to component
❌ ng add testing should add testing to an application and fixture to component
Error: expect(received).not.toThrow()
ng add testing should add testing to a library
⚪ ng add testing should add testing to a library
ng add testing should add testing to a library and fixture to component
⚪ ng add testing should add testing to a library and fixture to component
❌ @o3r/third-party/dist-test/it-report.xml
1 tests were completed in 74s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1❌ | 59s |
❌ new Angular application
new Angular application should add Otter Third Party to existing Angular app
❌ new Angular application should add Otter Third Party to existing Angular app
Error: expect(received).not.toThrow()
❌ @o3r/workspace/dist-test/it-report.xml
5 tests were completed in 391s with 3 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter workspace | 3✅ | 2❌ | 376s |
❌ new otter workspace
new otter workspace should add sdk to an existing workspace
✅ new otter workspace should add sdk to an existing workspace
new otter workspace should add sdk to an existing workspace with local spec
✅ new otter workspace should add sdk to an existing workspace with local spec
new otter workspace should add sdk to an existing workspace with spec package name
✅ new otter workspace should add sdk to an existing workspace with spec package name
new otter workspace should add a library to an existing workspace
❌ new otter workspace should add a library to an existing workspace
Error: expect(received).not.toThrow()
new otter workspace should generate a monorepo setup
❌ new otter workspace should generate a monorepo setup
Error: expect(received).not.toThrow()
Annotations
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
ng add analytics ► ng add analytics should add analytics to an application ► ng add analytics should add analytics to an application
Failed test found in:
@o3r/analytics/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/analytics/schematics/index.it.spec.ts:46:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/analytics/schematics/index.it.spec.ts:46:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\analytics\schematics\index.it.spec.ts:46:111)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
ng add analytics ► ng add analytics should add analytics to a library ► ng add analytics should add analytics to a library
Failed test found in:
@o3r/analytics/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/analytics/schematics/index.it.spec.ts:74:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/analytics/schematics/index.it.spec.ts:74:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\analytics\schematics\index.it.spec.ts:74:111)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
new otter application with apis-manager ► new otter application with apis-manager should add apis-manager to existing application ► new otter application with apis-manager should add apis-manager to existing application
Failed test found in:
@o3r/apis-manager/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/apis-manager/schematics/index.it.spec.ts:24:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/apis-manager/schematics/index.it.spec.ts:24:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\apis-manager\schematics\index.it.spec.ts:24:111)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
new Angular application ► new Angular application should add Otter Application to existing Angular app ► new Angular application should add Otter Application to existing Angular app
Failed test found in:
@o3r/application/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/application/schematics/index.it.spec.ts:23:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/application/schematics/index.it.spec.ts:23:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\application\schematics\index.it.spec.ts:23:111)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
ng add components ► ng add components should add components to an application ► ng add components should add components to an application
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/components/schematics/index.it.spec.ts:40:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/components/schematics/index.it.spec.ts:40:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\components\schematics\index.it.spec.ts:40:111)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
ng add components ► ng add components should add components to a library ► ng add components should add components to a library
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/components/schematics/index.it.spec.ts:65:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/components/schematics/index.it.spec.ts:65:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\components\schematics\index.it.spec.ts:65:111)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
new otter application with configuration ► new otter application with configuration should add configuration to an application ► new otter application with configuration should add configuration to an application
Failed test found in:
@o3r/configuration/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/configuration/schematics/index.it.spec.ts:49:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/configuration/schematics/index.it.spec.ts:49:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\configuration\schematics\index.it.spec.ts:49:111)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
new otter application with configuration ► new otter application with configuration should add configuration to a library ► new otter application with configuration should add configuration to a library
Failed test found in:
@o3r/configuration/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/configuration/schematics/index.it.spec.ts:79:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/configuration/schematics/index.it.spec.ts:79:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\configuration\schematics\index.it.spec.ts:79:111)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
new otter application ► new otter application should build empty app ► new otter application should build empty app
Failed test found in:
@o3r/core/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
The file D:\\a\\otter\\it-tests\\test-app-core\\localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk D:\\a\\otter\\it-tests\\test-app-core\\apps\\test-app\\apps\\test-app\\apps\\test-app\\dist\\localizations\\en-GB.json
,The file D:\\a\\otter\\it-tests\\test-app-core\\localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/core/schematics/index.it.spec.ts:126:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:126:111)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\core\schematics\index.it.spec.ts:126:111)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
Create new otter project command ► Create new otter project command should generate a project with an application ► Create new otter project command should generate a project with an application
Failed test found in:
@o3r/create/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-application build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/create/src/index.it.spec.ts:49:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/create/src/index.it.spec.ts:49:104)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\create\src\index.it.spec.ts:49:104)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
Create new otter project command ► Create new otter project command should generate a project with a library ► Create new otter project command should generate a project with a library
Failed test found in:
@o3r/create/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-library build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-library.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-library.component.ts:13:14·
13 export class TestLibraryComponent {·
~~~~~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-library'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-library.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-library.component.ts:13:14·
13 export class TestLibraryComponent {·
~~~~~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @Component?·
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/create/src/index.it.spec.ts:71:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/create/src/index.it.spec.ts:71:104)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\create\src\index.it.spec.ts:71:104)