git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 7feb7c9fd152c9b122c6ee9ec57387c444a89541

Files: 7feb7c9fd152c9b122c6ee9ec57387c444a89541 / tests / wasmContainer.js

509 bytesRaw
1const fs = require('fs')
2const tape = require('tape')
3const WasmContainer = require('../wasmContainer.js')
4// const Message = require('../message.js')
5// const Hypervisor = require('../')
6
7// const level = require('level-browserify')
8// const RadixTree = require('dfinity-radix-tree')
9// const db = level('./testdb')
10tape('basic', async t => {
11 const addTwoBin = fs.readFileSync(`${__dirname}/wasm/addTwo.wasm`)
12 const exports = WasmContainer.actorRef(addTwoBin, 'test')
13 console.log(exports)
14 t.end()
15})
16

Built with git-ssb-web