From efd67876e1141460d2c117fa85455ad894b9cfec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0=C3=A1ndor?= Date: Tue, 10 May 2022 23:02:53 +0200 Subject: [PATCH] doc: updated npm script for focused tests --- unit-test/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unit-test/README.md b/unit-test/README.md index ab97fcf52..e10b1c448 100644 --- a/unit-test/README.md +++ b/unit-test/README.md @@ -3,9 +3,9 @@ ### Example: - - compile ad run only tests on objectwrap.cc and objectwrap.js + - compile and run only tests on objectwrap.cc and objectwrap.js ``` - npm run unit --filter=objectwrap + npm run test --filter=objectwrap ``` @@ -15,7 +15,7 @@ - compile and run all tests files ending with reference -> function_reference.cc object_reference.cc reference.cc ``` - npm run unit --filter=*reference + npm run test --filter=*reference ``` # Multiple filter conditions are also allowed @@ -24,5 +24,5 @@ - compile and run all tests under folders threadsafe_function and typed_threadsafe_function and also the objectwrap.cc file ``` - npm run unit --filter='*function objectwrap' + npm run test --filter='*function objectwrap' ```