chore: upgrade eslint #767
64 passed, 1 failed and 2 skipped
✅ @ama-sdk/create/dist-test/it-report.xml
7 tests were completed in 485s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 7✅ | 476s |
✅ 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 100s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add analytics | 2✅ | 89s |
✅ ng add analytics
ng add analytics should add analytics to an application
✅ ng add analytics should add analytics to an application
ng add analytics should add analytics to a library
✅ ng add analytics should add analytics to a library
✅ @o3r/apis-manager/dist-test/it-report.xml
1 tests were completed in 54s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1✅ | 44s |
✅ 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
✅ @o3r/application/dist-test/it-report.xml
1 tests were completed in 38s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1✅ | 29s |
✅ 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
✅ @o3r/components/dist-test/it-report.xml
8 tests were completed in 558s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 540s | ||
ng add components | 2✅ | 116s |
✅ 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
ng add components should add components to a library
✅ ng add components should add components to a library
✅ @o3r/configuration/dist-test/it-report.xml
2 tests were completed in 111s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 2✅ | 100s |
✅ 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
new otter application with configuration should add configuration to a library
✅ new otter application with configuration should add configuration to a library
✅ @o3r/core/dist-test/it-report.xml
1 tests were completed in 534s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 1✅ | 516s |
✅ new otter application
new otter application should build empty app
✅ new otter application should build empty app
✅ @o3r/create/dist-test/it-report.xml
3 tests were completed in 347s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 3✅ | 339s |
✅ 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
Create new otter project command should generate a project with a library
✅ Create new otter project command should generate a project with a library
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 55s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with Design | 1✅ | 43s |
✅ 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
✅ @o3r/eslint-config-otter/dist-test/it-report.xml
2 tests were completed in 120s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add eslint-config | 2✅ | 107s |
✅ 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
ng add eslint-config should add eslint-config to a library
✅ ng add eslint-config should add eslint-config to a library
❌ @o3r/eslint-config/dist-test/it-report.xml
3 tests were completed in 327s with 2 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with eslint config | 2✅ | 1❌ | 311s |
❌ 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
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 270s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
aggregate migration scripts | 1✅ | 207s | ||
ng add extractors | 2✅ | 252s |
✅ 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
ng add extractors should add extractors to a library
✅ ng add extractors should add extractors to a library
✅ @o3r/localization/dist-test/it-report.xml
8 tests were completed in 605s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 588s | ||
ng add otter localization | 2✅ | 147s |
✅ 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
ng add otter localization should add localization to a library
✅ ng add otter localization should add localization to a library
✅ @o3r/new-version/dist-test/it-report.xml
1 tests were completed in 58s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
undefined | 1✅ | 49s |
✅ 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 43s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter project | 2✅ | 35s |
✅ 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 133s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add rules-engine | 2✅ | 118s |
✅ 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
ng add rules-engine should add rules engine to a library
✅ ng add rules-engine should add rules engine to a library
✅ @o3r/stylelint-plugin/dist-test/it-report.xml
2 tests were completed in 106s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add stylelint-plugin | 2✅ | 96s |
✅ 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
ng add stylelint-plugin should add stylelint-plugin to a library
✅ ng add stylelint-plugin should add stylelint-plugin to a library
✅ @o3r/styling/dist-test/it-report.xml
8 tests were completed in 579s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 561s | ||
ng add styling | 2✅ | 143s |
✅ 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
ng add styling should add styling to a library
✅ ng add styling should add styling to a library
✅ @o3r/testing/dist-test/it-report.xml
4 tests were completed in 130s with 2 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add testing | 2✅ | 2⚪ | 110s |
✅ ng add testing
ng add testing should add testing to an application
✅ ng add testing should add testing to an application
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
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 64s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1✅ | 51s |
✅ 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
✅ @o3r/workspace/dist-test/it-report.xml
5 tests were completed in 336s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter workspace | 5✅ | 321s |
✅ 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
new otter workspace should generate a monorepo setup
✅ new otter workspace should generate a monorepo setup
Annotations
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn-
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
Failed test found in:
@o3r/eslint-config/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 ng lint test-app --fix
STDERR:
An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts
See \"/tmp/ng-vs7HAD/angular-errors.log\" for further details.
/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75
allowShortCircuit,
^·
TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts
at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75:13)
at create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-eslint-plugin-virtual-d5216a2c03/3/otter/.cache/test-app/cache/@typescript-eslint-eslint-plugin-npm-8.0.1-475b2aa961-10c0.zip/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js:28:32)
at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-utils-virtual-68df03e897/3/otter/.cache/test-app/cache/@typescript-eslint-utils-npm-8.0.1-e12ab5f306-10c0.zip/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:31:20)
at createRuleListeners (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:944:21)
at /home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1082:84
at Array.forEach (<anonymous>)
at runRules (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1013:34)
at #flatVerifyWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1911:31)
at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1993:49)
at Linter._verifyWithFlatConfigArray (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:2082:21)·
Node.js v20.18.1·
OUTPUT:
,
Linting \"test-app\"...
,An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts
See \"/tmp/ng-vs7HAD/angular-errors.log\" for further details.
/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75
allowShortCircuit,
^·
TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts
at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75:13)
at create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-eslint-plugin-virtual-d5216a2c03/3/otter/.cache/test-app/cache/@typescript-eslint-eslint-plugin-npm-8.0.1-475b2aa961-10c0.zip/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js:28:32)
at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-utils-virtual-68df03e897/3/otter/.cache/test-app/cache/@typescript-eslint-utils-npm-8.0.1-e12ab5f306-10c0.zip/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:31:20)
at createRuleListeners (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:944:21)
at /home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1082:84
at Array.forEach (<anonymous>)
at runRules (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1013:34)
at #flatVerifyWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1911:31)
at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1993:49)
at Linter._verifyWithFlatConfigArray (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:2082:21)·
Node.js v20.18.1
"
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 Object.create (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75:13)
at create (../it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-eslint-plugin-virtual-d5216a2c03/3/otter/.cache/test-app/cache/@typescript-eslint-eslint-plugin-npm-8.0.1-475b2aa961-10c0.zip/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js:28:32)
at Object.create (../it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-utils-virtual-68df03e897/3/otter/.cache/test-app/cache/@typescript-eslint-utils-npm-8.0.1-e12ab5f306-10c0.zip/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:31:20)
at createRuleListeners (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:944:21)
at /home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1082:84
at Array.forEach (<anonymous>)
at runRules (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1013:34)
at #flatVerifyWithoutProcessors (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1911:31)
at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1993:49)
at Linter._verifyWithFlatConfigArray (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:2082:21)
Node.js v20.18.1
OUTPUT:
,
Linting "test-app"...
,An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts
See "/tmp/ng-vs7HAD/angular-errors.log" for further details.
/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75
allowShortCircuit,
^
TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts
at Object.create (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75:13)
at create (../it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-eslint-plugin-virtual-d5216a2c03/3/otter/.cache/test-app/cache/@typescript-eslint-eslint-plugin-npm-8.0.1-475b2aa961-10c0.zip/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js:28:32)
at Object.create (../it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-utils-virtual-68df03e897/3/otter/.cache/test-app/cache/@typescript-eslint-utils-npm-8.0.1-e12ab5f306-10c0.zip/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:31:20)
at createRuleListeners (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:944:21)
at /home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1082:84
at Array.forEach (<anonymous>)
at runRules (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1013:34)
at #flatVerifyWithoutProcessors (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1911:31)
at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1993:49)
at Linter._verifyWithFlatConfigArray (../it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:2082:21)
Node.js v20.18.1
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerExec (packages/@o3r/test-helpers/src/utilities/package-manager.ts:178:10)
at packages/@o3r/eslint-config/schematics/index.it.spec.ts:41:36
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/eslint-config/schematics/index.it.spec.ts:41:110)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/eslint-config/schematics/index.it.spec.ts:41:110)
at Promise.then.completed (/home/runner/work/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 (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/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 (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/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 (/home/runner/work/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 (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/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 (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)