JS: enable test after bootstrap
Check that a custom Promise declaration is supported for the @AfterTest annotation functionality in the kotlin.test library This is a part of the fix for KT-63359 Merge-request: KT-MR-14333 Merged-by: Anton Bannykh <Anton.Bannykh@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
90ff8f0e64
commit
302e38dd18
@@ -86,9 +86,9 @@ class AsyncTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Suppress("CAST_NEVER_SUCCEEDS")
|
||||||
fun checkCustomPromise(): CustomPromise {
|
fun checkCustomPromise(): CustomPromise {
|
||||||
// return promise(10, "afterCustom") as CustomPromise
|
return promise(10, "afterCustom") as CustomPromise
|
||||||
return promise(10, "") as CustomPromise
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user