mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-24 08:41:26 +08:00
Add npm script to run Jest examples
Added for new devs who are exploring the examples, as the need for passing --testPathIgnorePatterns is not obvious. This flag is required because the example tests are excluded by default.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
"test:e2e": "start-server-and-test testServer http://localhost:3000 cy:run",
|
||||
"test:jest": "jest",
|
||||
"test:jest-e2e": "jest --selectProjects e2e",
|
||||
"test:jest-examples": "jest -i ./tests/**/example.test.js --testPathIgnorePatterns",
|
||||
"test:jest-integration": "jest --selectProjects integration",
|
||||
"test:jest-unit": "jest --selectProjects unit",
|
||||
"posttest:e2e": "rimraf cypress/fixtures/docs",
|
||||
|
||||
Reference in New Issue
Block a user