We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7860871 commit d35f5feCopy full SHA for d35f5fe
tests/wasm/test.js.in
@@ -1,7 +1,6 @@
1
-const child_process = require('child_process');
2
-const assert = require('assert');
+const assert = require('node:assert');
3
const test = require('node:test');
4
-const wasm = require('${CMAKE_CURRENT_BINARY_DIR}/wasm');
+const wasm = require('${CMAKE_CURRENT_BINARY_DIR}/wasm-node');
5
6
function toJS(obj) {
7
const result = {};
@@ -29,7 +28,6 @@ const expected = {
29
28
30
test('wasm', async () => {
31
const { parse } = await wasm();
32
- console.log();
33
assert.deepStrictEqual(toJS(parse('https://google.com/?q=Yagiz#Nizipli')), expected);
34
});
35
0 commit comments