Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support nested describes #33

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Support nested describes #33

wants to merge 1 commit into from

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Jan 29, 2024

@mkurz
Copy link
Member Author

mkurz commented Jan 29, 2024

[info] [info]   outer
[info] [info]     inner
[info] [info]       ! should do a thing
[info] [error] ReferenceError: expect is not defined
[info] [error]     at Context.<anonymous>(arget/web/public/test/HappyAssetSpec.js:14)
[info] [error]     at .callFn(roject/target/node-modules/webjars/mocha/lib/runnable.js:366)
[info] [error]     at Runnable.run(roject/target/node-modules/webjars/mocha/lib/runnable.js:354)
[info] [error]     at Runner.runTest(roject/target/node-modules/webjars/mocha/lib/runner.js:666)
[info] [error]     at .next(roject/target/node-modules/webjars/mocha/lib/runner.js:581)
[info] [error]     at .next(roject/target/node-modules/webjars/mocha/lib/runner.js:474)
[info] [error]     at Immediate._onImmediate(roject/target/node-modules/webjars/mocha/lib/runner.js:559)
[info] [error]     at process.processImmediate(ode:internal/timers:4[76](https://github.com/sbt/sbt-mocha/actions/runs/7703064060/job/20992712116?pr=33#step:10:77))
[info] [error] java.lang.RuntimeException: no test suite
[info] [error] 	at scala.sys.package$.error(package.scala:30)
[info] [error] 	at sbt.JUnitXmlTestsListener.$anonfun$withTestSuite$1(JUnitXmlTestsListener.scala:181)
[info] [error] 	at scala.Option.getOrElse(Option.scala:189)
[info] [error] 	at sbt.JUnitXmlTestsListener.withTestSuite(JUnitXmlTestsListener.scala:181)
[info] [error] 	at sbt.JUnitXmlTestsListener.writeSuite(JUnitXmlTestsListener.scala:260)
[info] [error] 	at sbt.JUnitXmlTestsListener.endGroup(JUnitXmlTestsListener.scala:243)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.$anonfun$handleSuite$25(MochaTestReporting.scala:220)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.$anonfun$handleSuite$25$adapted(MochaTestReporting.scala:219)
[info] [error] 	at scala.collection.immutable.List.foreach(List.scala:431)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.$anonfun$handleSuite$24(MochaTestReporting.scala:219)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.$anonfun$handleSuite$24$adapted(MochaTestReporting.scala:218)
[info] [error] 	at scala.Option.foreach(Option.scala:407)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.handleSuite(MochaTestReporting.scala:218)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.$anonfun$handleSuite$22(MochaTestReporting.scala:198)
[info] [error] 	at scala.collection.immutable.List.map(List.scala:293)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.handleSuite(MochaTestReporting.scala:197)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.$anonfun$logTestResults$3(MochaTestReporting.scala:79)
[info] [error] 	at scala.collection.immutable.List.map(List.scala:293)
[info] [error] 	at com.typesafe.sbt.mocha.MochaTestReporting.logTestResults(MochaTestReporting.scala:76)
[info] [error] 	at com.typesafe.sbt.mocha.SbtMocha$.$anonfun$mochaTestTask$7(SbtMocha.scala:180)
[info] [error] 	at scala.Option.map(Option.scala:230)
[info] [error] 	at com.typesafe.sbt.mocha.SbtMocha$.$anonfun$mochaTestTask$5(SbtMocha.scala:179)
[info] [error] 	at com.typesafe.sbt.mocha.SbtMocha$.$anonfun$projectSettings$16(SbtMocha.scala:128)
[info] [error] 	at com.typesafe.sbt.mocha.SbtMocha$.$anonfun$projectSettings$16$adapted(SbtMocha.scala:112)
[info] [error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[info] [error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[info] [error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[info] [error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[info] [error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[info] [error] 	at sbt.Execute.work(Execute.scala:292)
[info] [error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[info] [error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[info] [error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[info] [error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info] [error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[info] [error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info] [error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[info] [error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[info] [error] 	at java.lang.Thread.run(Thread.java:750)
[info] [error] (mochaOnly) no test suite
[info] [error] Total time: 3 s, completed Jan 29, 2024 10:06:41 PM
Error:  x sbt-mocha-plugin/test 
Error:   Cause of test exception: {line 4}  Command failed: mochaOnly failed
[info] 
[info] Running sbt-mocha-plugin/test-same-webjars-different-version
[info] 
[error] java.lang.RuntimeException: Failed tests:
[error] 	sbt-mocha-plugin/test
[error] 
[error] 	at scala.sys.package$.error(package.scala:30)
[error] 	at sbt.scriptedtest.ScriptedRunner.reportErrors(ScriptedTests.scala:628)
[error] 	at sbt.scriptedtest.ScriptedRunner.runAll(ScriptedTests.scala:631)
[error] 	at sbt.scriptedtest.ScriptedRunner.run(ScriptedTests.scala:600)
[error] 	at sbt.scriptedtest.ScriptedRunner.run(ScriptedTests.scala:453)
[error] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[error] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[error] 	at java.lang.reflect.Method.invoke(Method.java:498)
[error] 	at sbt.ScriptedRun$RunV2.invoke(ScriptedRun.scala:152)
[error] 	at sbt.ScriptedRun.run(ScriptedRun.scala:35)
[error] 	at sbt.ScriptedRun.run$(ScriptedRun.scala:16)
[error] 	at sbt.ScriptedRun$RunV2.run(ScriptedRun.scala:133)
[error] 	at sbt.ScriptedPlugin$.$anonfun$scriptedTask$3(ScriptedPlugin.scala:189)
[error] 	at sbt.ScriptedPlugin$.$anonfun$scriptedTask$3$adapted(ScriptedPlugin.scala:1[78](https://github.com/sbt/sbt-mocha/actions/runs/7703064060/job/20992712116?pr=33#step:10:79))
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] 	at sbt.Execute.work(Execute.scala:292)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] 	at java.lang.Thread.run(Thread.java:750)
[error] (scripted) Failed tests:
[error] 	sbt-mocha-plugin/test
[error] Total time: [81](https://github.com/sbt/sbt-mocha/actions/runs/7703064060/job/20992712116?pr=33#step:10:82) s (01:21), completed Jan 29, 2024 10:07:20 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant