-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] pipeline jvm 17
- Loading branch information
Ahmed Alnaami
committed
Dec 29, 2023
1 parent
2f5d92f
commit 040fd01
Showing
7 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
napier/src/wasmJsTest/kotlin/io/github/aakira/napier/NapierJsTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package io.github.aakira.napier | ||
|
||
class NapierJsTest { | ||
} |
9 changes: 9 additions & 0 deletions
9
napier/src/wasmJsTest/kotlin/io/github/aakira/napier/TestRunBlocking.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package io.github.aakira.napier | ||
|
||
import kotlinx.coroutines.GlobalScope | ||
import kotlinx.coroutines.promise | ||
import kotlin.coroutines.EmptyCoroutineContext | ||
|
||
actual fun <T> testRunBlocking(block: suspend () -> T) { | ||
GlobalScope.promise(EmptyCoroutineContext) { block() } | ||
} |