From ec71e30ecb76551ec6fdb2e3c96ae3aee8eae9e0 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 19 Nov 2021 10:23:18 +0100 Subject: [PATCH] add Platform as entry point so also platform dependant code gets searched for tests --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7f584ee3..d7d0bc5d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lint": "eslint --cache src/", "lint-ts": "eslint src/ -c .ts-eslintrc.js --ext .ts", "lint-ci": "eslint src/", - "test": "impunity --entry-point src/main.js --force-esm-dirs lib/ src/", + "test": "impunity --entry-point src/main.js src/platform/web/Platform.js --force-esm-dirs lib/ src/", "start": "snowpack dev --port 3000", "build": "node --experimental-modules scripts/build.mjs", "postinstall": "node ./scripts/post-install.js"