From bcbf40ee108232c8751c5879277d7a33c861d6dd Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Sat, 6 Aug 2022 01:02:15 +1000 Subject: [PATCH] chore: rename test scripts both tests are `unit`, also script name shouldn't change if a different framework (karma) is used. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1b6cd988ed..10ee58f7fc 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ "test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.*js\" \".github/**/*.yml\" --list-different", "test:spelling": "cspell \"{README.md,.github/*.md,guides/*.md,src/**/*.ts}\"", "test:tsc": "tsc -p tsconfig.dev.json", - "test:unit": "mocha", - "test:karma": "karma start karma.conf.cjs", + "test:node": "mocha", + "test:browser": "karma start karma.conf.cjs", "examples:test": "run-s examples:pretest; for d in examples/*/; do (cd $d && npm test;); done", "proto": "rimraf src/proto/*.ts; protons src/proto/*.proto", "watch:build": "tsc -p tsconfig.json -w",