diff --git a/.github/workflows/nodejs.yml b/.github/workflows/linux.yml similarity index 100% rename from .github/workflows/nodejs.yml rename to .github/workflows/linux.yml diff --git a/package.json b/package.json index 225df40..2079f4a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Value Change Dump (VCD) parser", "main": "lib/index.js", "scripts": { - "test": "eslint bin lib test && nyc -r=text -r=lcov mocha", + "test_napi": "nyc -r=text -r=lcov mocha test/napi_*", + "test_wasm": "nyc -r=text -r=lcov mocha test/wasm_*", + "test": "eslint bin lib test && npm run test_napi && npm run test_wasm", "testonly": "nyc -r=text -r=lcov mocha", "watch": "mocha --watch", "install": "node bin/build.js", diff --git a/test/any.js b/test/napi_any.js similarity index 100% rename from test/any.js rename to test/napi_any.js diff --git a/test/basic.js b/test/napi_basic.js similarity index 100% rename from test/basic.js rename to test/napi_basic.js diff --git a/test/dump.js b/test/napi_dump.js similarity index 100% rename from test/dump.js rename to test/napi_dump.js diff --git a/test/events.js b/test/napi_events.js similarity index 100% rename from test/events.js rename to test/napi_events.js