git ssb

0+

wanderer🌟 / js-primea-wasm-container



Commit 2696b0ddd05bbef598f8aec13320e0c97f0d4176

fix lint

wanderer committed on 6/5/2017, 9:47:08 PM
Parent: 69dfa6d2b66e206f048fb0432ddf61cb1743a42c

Files changed

tests/index.jschanged
tests/index.jsView
@@ -99,12 +99,11 @@
9999 })
100100
101101 try {
102102 await hypervisor.createInstance('wasm', {
103- '/': WasmContainer.createState(new Buffer([0x00]))
103+ '/': WasmContainer.createState(Buffer.from([0x00]))
104104 })
105105 } catch (e) {
106- console.log(e)
107106 t.true(true, 'should trap on invalid wasm')
108107 }
109108 })
110109 })

Built with git-ssb-web