Skip to content

Commit 533811d

Browse files
committed
~comment
1 parent 96610ad commit 533811d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

kotlinx-coroutines-core/common/test/TestBase.common.kt

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ public expect val isStressTest: Boolean
1414
public expect val stressTestMultiplier: Int
1515

1616
public expect open class TestBase constructor() {
17+
/*
18+
* In common tests we emulate parameterized tests
19+
* by iterating over parameters space in the single @Test method.
20+
* This kind of tests is too slow for JS and does not fit into
21+
* the default Mocha timeout, so we're using this flag to bail-out
22+
* and run such tests only on JVM and K/N.
23+
*/
1724
public val isBoundByJsTestTimeout: Boolean
1825
public fun error(message: Any, cause: Throwable? = null): Nothing
1926
public fun expect(index: Int)

0 commit comments

Comments
 (0)