Skip to content

Commit 30c3d96

Browse files
committed
build: refactor wasm test.js
1 parent 1f23ef0 commit 30c3d96

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/wasm/test.js.in

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
const child_process = require('child_process');
2-
const assert = require('assert');
1+
const assert = require('node:assert');
32
const test = require('node:test');
43
const wasm = require('${CMAKE_CURRENT_BINARY_DIR}/wasm');
54

@@ -29,7 +28,6 @@ const expected = {
2928

3029
test('wasm', async () => {
3130
const { parse } = await wasm();
32-
console.log();
3331
assert.deepStrictEqual(toJS(parse('https://google.com/?q=Yagiz#Nizipli')), expected);
3432
});
3533

0 commit comments

Comments
 (0)