Alexander Girke
04/07/2023, 1:00 PMimportObject
for the generated instantiate
JS method in tests?Svyatoslav Kuzmich [JB]
04/07/2023, 2:48 PMUInt.toInt()
and friends to get corresponding signed numbers with the same binary representation.
2. instantiate
method takes import object as first parameter.
export async function instantiate(imports={}, runInitializer=true) { ... }
You can pass it from another JS module, but gradle plugin’s built-in test runner currently can’t use your custom entry JS module to run tests.Alexander Girke
04/07/2023, 5:24 PM