File: README.md

package info (click to toggle)
node-addon-api 8.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,248 kB
  • sloc: cpp: 15,431; javascript: 5,631; ansic: 157; makefile: 7
file content (28 lines) | stat: -rw-r--r-- 637 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

# Enable running tests with specific filter conditions:

### Example:

  - compile and run only tests on objectwrap.cc and objectwrap.js
```
    npm run test --filter=objectwrap
```


# Wildcards are also possible:

### Example:

  - compile and run all tests files ending with reference -> function_reference.cc object_reference.cc reference.cc
```
    npm run test --filter=*reference
```

# Multiple filter conditions are also allowed

### Example:

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