FAQ / @knapsack-pro/jest / Knapsack Pro Jest specific questions

How to exclude tests to ignore them from running in Jest?

You can set KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN which define a glob pattern to exclude tests similar to Jest testPathIgnorePatterns parameter. Note testPathIgnorePatterns uses regexp pattern while KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN uses glob pattern.

Start using Knapsack Pro

Sign up and speed up your tests.