Package Exports
- @clerk/testing/cypress
- @clerk/testing/playwright
- @clerk/testing/playwright/unstable
Readme
@clerk/testing
Getting started
This package provides utilities for testing Clerk applications.
It currently supports the following testing frameworks:
- Playwright, a Node.js library to automate browsers and web pages.
- Cypress, a JavaScript-based end-to-end testing framework.
Prerequisites
- Node.js
>=18.17.0or later - Playwright v1+ or Cypress v13.x or 14.x
Installation
npm install @clerk/testing --save-devUsage
Learn how to use @clerk/testing with different frameworks:
Support
You can get in touch with us in any of the following ways:
- Join our official community Discord server
- On our support page
Contributing
We're open to all community contributions! If you'd like to contribute in any way, please read our contribution guidelines and code of conduct.
Security
@clerk/testing follows good practices of security, but 100% security cannot be assured.
@clerk/testing is provided "as is" without any warranty. Use at your own risk.
For more information and to report security issues, please refer to our security documentation.
License
This project is licensed under the MIT license.
See LICENSE for more information.