The next-gen flux-based test runner for Jest that provides test framework globals and event-driven test execution
82
Pending
Does it follow best practices?
Impact
82%
1.90xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how well the engineer uses Jest's error snapshot testing capabilities, specifically toThrowErrorMatchingSnapshot() or toThrowErrorMatchingInlineSnapshot(), to test error messages thrown by validation functions. The focus is on proper usage of Jest's snapshot testing API for error scenarios.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses snapshot matchers",
"description": "Uses toThrowErrorMatchingSnapshot() or toThrowErrorMatchingInlineSnapshot() to test error messages instead of manual string matching",
"max_score": 40
},
{
"name": "Wraps in expect callback",
"description": "Correctly wraps throwing functions in expect() callbacks using arrow functions or anonymous functions (e.g., expect(() => validateEmail('...')).toThrowErrorMatchingSnapshot())",
"max_score": 20
},
{
"name": "Tests all error cases",
"description": "Uses error snapshot testing for all 9 error cases specified in the spec (3 email, 3 password, 3 username validation errors)",
"max_score": 25
},
{
"name": "Proper test structure",
"description": "Organizes tests appropriately using Jest's test() or it() functions with descriptive test names that correspond to the spec requirements",
"max_score": 15
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10