mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-23 07:55:01 +08:00
aed09be687
- Setup projects for e2e, integration, and unit tests in Jest configuration - Setup /tests/e2e/ tests for Jest+PlayWright - Setup /tests/integration/ tests for Jest - Setup /tests/unit/ tests for Jest - Setup eslint for Jest and Jest+Playwright environments - Move e2e configuration files into separate folder - Update e2e example tests - Update unit example tests - Update HTML fixtures
Docsify Testing
Environment
- Tests located in
/tests/e2e/use Jest and Playwright - Tests located in
/tests/integration/use Jest - Tests located in
/tests/unit/use Jest
Jest
A test framework used for assertions, mocks, spies, etc.
- Docs: https://jestjs.io
Playwright
A test automation tool for launching browsers and manipulating the DOM.
- Docs: https://playwright.dev
Jest-Playwright
A Jest preset that simplifies using Jest and Playwright together.