Get rid of MultiPlatform Code, pt 2. (Remove JS modules)

This commit is contained in:
Oliver Rümpelein 2020-04-19 12:13:19 +02:00
parent efbc801836
commit b63f92535f
3 changed files with 0 additions and 35 deletions

View file

@ -11,19 +11,6 @@ apply(plugin = "maven-publish")
kotlin {
jvm()
js {
// FIXME: JS-Tests
browser {
testTask {
enabled = false
}
}
nodejs {
testTask {
enabled = false
}
}
}
sourceSets {
commonMain {
@ -48,16 +35,6 @@ kotlin {
implementation(kotlin("test-junit"))
}
}
getByName("jsMain") {
dependencies {
implementation(kotlin("stdlib-js"))
}
}
getByName("jsTest") {
dependencies {
implementation(kotlin("test-js"))
}
}
all {
languageSettings.enableLanguageFeature("InlineClasses")
}

View file

@ -1 +0,0 @@
package de.pheerai.rcdbquery

View file

@ -1,11 +0,0 @@
package de.pheerai.rcdbquery
import kotlin.test.Test
import kotlin.test.assertTrue
class SampleTestsJS {
@Test
fun testHello() {
assertTrue("JS" in hello())
}
}