git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit cb095bce6e57caeb9ca92d94f1ec0b3c44f08c08

Use exportTable in tests too

Alex Beregszaszi committed on 8/3/2016, 9:50:04 PM
Parent: 75c73cf778a32316679e669b47a9b5ce085b8587

Files changed

tests/interfaceRunner.jschanged
tests/interfaceRunner.jsView
@@ -26,9 +26,9 @@
2626 const testContract = new Kernel(environment)
2727 const ethInterface = new Interface(environment, testContract)
2828
2929 try {
30- const mod = Wasm.instantiateModule(buffer, {'ethereum': ethInterface})
30+ const mod = Wasm.instantiateModule(buffer, { 'ethereum': ethInterface.exportTable })
3131 ethInterface.setModule(mod)
3232 mod.exports.test()
3333 } catch (e) {
3434 t.fail()

Built with git-ssb-web