Skip to content

Commit

Permalink
Node. Add test for unions with JsRawValue
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrishchenko committed Jan 7, 2025
1 parent 7172aec commit 12e9017
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kotlin-node/src/jsTest/kotlin/node/crypto/LiteralUnionTest.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package node.crypto

import kotlin.test.Test
import kotlin.test.assertEquals

class LiteralUnionTest {
@Test
fun checkJsAsyncForDoesNotReject() {
val actual = GetFipsResult.`0`
val expected = 0

assertEquals<Any>(expected, actual)
}
}

0 comments on commit 12e9017

Please sign in to comment.