From cc76374706e36b8767f35f28d5d7d30b9356067b Mon Sep 17 00:00:00 2001 From: j-devel <38098238+j-devel@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:48:17 +0700 Subject: [PATCH] Workaround 'rustwasm-ffi/tests/node' issues on Node.js 10.x, cont. --- examples/rustwasm-ffi/tests/node/main.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rustwasm-ffi/tests/node/main.test.js b/examples/rustwasm-ffi/tests/node/main.test.js index f738e35..613497a 100644 --- a/examples/rustwasm-ffi/tests/node/main.test.js +++ b/examples/rustwasm-ffi/tests/node/main.test.js @@ -15,4 +15,4 @@ test('MyClass', async () => { expect(typeof Mod.ffi).toBe('object'); // e.g. {"MyClass": [Function A]} expect(wbg.run(Mod.ffi)).toBe(10); }); -} // !! +} else { test('dummy', () => {}); } // !!