Skip to content

Commit efd6787

Browse files
petersandorJckXia
authored andcommitted
doc: updated npm script for focused tests
1 parent 134961d commit efd6787

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unit-test/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
### Example:
55

6-
- compile ad run only tests on objectwrap.cc and objectwrap.js
6+
- compile and run only tests on objectwrap.cc and objectwrap.js
77
```
8-
npm run unit --filter=objectwrap
8+
npm run test --filter=objectwrap
99
```
1010

1111

@@ -15,7 +15,7 @@
1515

1616
- compile and run all tests files ending with reference -> function_reference.cc object_reference.cc reference.cc
1717
```
18-
npm run unit --filter=*reference
18+
npm run test --filter=*reference
1919
```
2020

2121
# Multiple filter conditions are also allowed
@@ -24,5 +24,5 @@
2424

2525
- compile and run all tests under folders threadsafe_function and typed_threadsafe_function and also the objectwrap.cc file
2626
```
27-
npm run unit --filter='*function objectwrap'
27+
npm run test --filter='*function objectwrap'
2828
```

0 commit comments

Comments
 (0)