Skip to content

Files

Latest commit

efd6787 · Jul 31, 2022

History

History

unit-test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 31, 2022
Jul 31, 2022
Jan 31, 2022
Feb 22, 2022
Jan 31, 2022
Jan 31, 2022
Jan 31, 2022
Jan 31, 2022
Jan 31, 2022
Jan 31, 2022
Jan 31, 2022
Jan 31, 2022

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'