assert
Rstest re-exports Chai's assert API for TDD-style assertions. You can import assert directly from @rstest/core, or access it globally when globals is enabled.
- Type:
typeof import('chai').assert
Example
Common methods
For the full list of assertion methods and options, see the Chai Assert API.