Run kotlin-test-js tests with kotlin-stdlib-js

Rework kotlin-test common tests to make them runnable with qunit.
Change the way how asserter is overridden in js box tests.
Minor: remove unneeded test configs
This commit is contained in:
Ilya Gorbunov
2017-04-19 07:40:22 +03:00
parent f009e0c665
commit ec8ead754f
12 changed files with 80 additions and 118 deletions
@@ -11,6 +11,8 @@ private val contributors = ArrayList<AsserterContributor>()
internal impl fun lookupAsserter(): Asserter = lookup()
private val defaultAsserter = DefaultAsserter()
internal fun lookup(): Asserter {
initContributorsIfNeeded()
@@ -21,7 +23,7 @@ internal fun lookup(): Asserter {
}
}
return DefaultAsserter()
return defaultAsserter
}
private fun initContributors() {