The next-gen flux-based test runner for Jest that provides test framework globals and event-driven test execution
82
Build a custom Jest matcher library that provides intuitive assertions for testing numeric ranges and boundary conditions.
Provides a matcher to check if a number falls within a specified range (inclusive).
The custom matcher should provide clear, descriptive error messages when assertions fail.
@generates
/**
* Extends Jest's expect with custom matchers for range validation.
* Must be called before using the custom matchers in tests.
*/
function setupCustomMatchers() {
// Implementation registers custom matcher(s) with expect
}
module.exports = { setupCustomMatchers };Provides the testing framework and expect.extend functionality for creating custom matchers.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-jest-circusevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10