-
Bug
-
Resolution: Fixed
-
Minor
-
-
2.230
Steps to reproduce:
- Clone jenkinsci/jenkins
- mvn clean install -Dtest=AboutJenkinsTest -Dspotbugs.skip -Dfindbugs.skip
- mvn -pl war jetty:run
- Install ace-editor plugin (e.g. as a transitive dependency of workflow-aggregator)
- Stop Jenkins
- mvn clean install -Dtest=AboutJenkinsTest -Dspotbugs.skip -Dfindbugs.skip
Expected result
The build passes
Actual result
The build fails:
[INFO] --- frontend-maven-plugin:1.6:yarn (yarn test) @ jenkins-war --- [INFO] Running 'yarn test' in /.../jenkins/war [INFO] yarn run v1.21.1 [INFO] $ jest --config=jest.config.json [INFO] FAIL work/plugins/ace-editor/jsmodules/test.js [ERROR] ??? Test suite failed to run [ERROR] [ERROR] Your test suite must contain at least one test. [ERROR] [ERROR] at node_modules/@jest/core/build/TestScheduler.js:242:24 [ERROR] at asyncGeneratorStep (node_modules/@jest/core/build/TestScheduler.js:131:24) [ERROR] at _next (node_modules/@jest/core/build/TestScheduler.js:151:9) [ERROR] at node_modules/@jest/core/build/TestScheduler.js:156:7 [ERROR] at node_modules/@jest/core/build/TestScheduler.js:148:12 [ERROR] at onResult (node_modules/@jest/core/build/TestScheduler.js:271:25) [ERROR] [INFO] PASS src/test/js/widgets/config/scrollspy.spec.js [INFO] PASS src/test/js/pluginSetupWizard.spec.js [INFO] PASS src/test/js/widgets/config/tabbar.spec.js [INFO] Test Suites: 1 failed, 3 passed, 4 total [INFO] Tests: 20 passed, 20 total
- links to