We have runTest for wasmJs now, but there is a weird problem with library files
This commit is contained in:
1 parent
6a9cfd5006
commit
ccb47be795
2 files changed
+20
No files matched your search
@@ -302,6 +302,10 @@ kotlin {
|
||||
implementation(kotlin(Deps.Common.test))
|
||||
implementation(kotlin(Deps.Common.testAnnotation))
|
||||
implementation(Deps.Common.coroutines)
|
||||
|
||||
// implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0")
|
||||
// implementation(kotlin("test"))
|
||||
// implementation(kotlin("test-junit"))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -577,6 +581,11 @@ kotlin {
|
||||
dependencies {
|
||||
// implementation(kotlin(Deps.wasmJs.test))
|
||||
implementation(npm(Deps.wasmJs.Npm.libsodiumWrappers.first, Deps.wasmJs.Npm.libsodiumWrappers.second))
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0")
|
||||
// implementation("kotlinx-coroutines-test")
|
||||
|
||||
implementation(kotlin("test"))
|
||||
implementation(kotlin("test-junit"))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.ionspin.kotlin.crypto.debug
|
||||
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class WasmSymbolsTest {
|
||||
// @Test
|
||||
// fun wasmSymbolsTest() {
|
||||
// assertEquals(42, 42)
|
||||
// }
|
||||
}
|
||||
Reference in new issue
Block a user