araqnid
03/11/2020, 7:40 PMdone
parameter, but the JS produced by the Kotlin/JS compiler from inspecting the test sources seems to preclude that:
test('resolve_gradle', false, function () {
var tmp$;
tmp$ = new VersionResolversTest();
tmp$.beforeTest();
try {
return tmp$.resolve_gradle();
}finally {
tmp$.afterTest();
}
});
(beforeTest
and afterTest
here were methods annotated with @BeforeTest
and @AfterTest
)
Is this output configurable in any way?Rob Murdock
03/19/2020, 2:43 PMRob Murdock
03/19/2020, 2:44 PMaraqnid
03/19/2020, 4:51 PMaraqnid
03/19/2020, 4:55 PMaraqnid
03/19/2020, 4:56 PM@Test
fun some_async_test() = GlobalScope.promise {
println("this is an async test")
delay(1500L)
println("it's finishing after a delay")
}
Is that the same pattern you’ve got?Rob Murdock
03/19/2020, 4:57 PM