Skip to content

Commit 6044d07

Browse files
committed
Add js script to test wasm bindgen
1 parent fbded9c commit 6044d07

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/wasm_bindgen/js/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
'use strict';
2+
3+
const rand_wasm_bindgen_test = require('./rand_wasm_bindgen_test');
4+
5+
console.log(rand_wasm_bindgen_test.generate_from_entropy())
6+
console.log(rand_wasm_bindgen_test.generate_from_os_rand())
7+
console.log(rand_wasm_bindgen_test.generate_from_seed())

0 commit comments

Comments
 (0)