Reputation: 10640
I have a pure Kotlin multiplatform library which targets wasmJs
in addition to other targets. Building the library works without problem but I have a problem getting the unit tests to work. The problem is that my unit tests require some data to be loaded as a ByteArray
from a file (via kotlinx-io) and that doesn't seem to be supported for wasmJs
. The question now is: how do you get such data into a unit test for the wasmJs
target?
Upvotes: 0
Views: 43