tessl install tessl/npm-jest-circus@29.7.0The next-gen flux-based test runner for Jest that provides test framework globals and event-driven test execution
Agent Success
Agent success rate when using this tile
82%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.91x
Baseline
Agent success rate without this tile
43%
{
"context": "This criteria evaluates the engineer's ability to use Jest's equality matchers (toBe, toEqual, toStrictEqual) appropriately for different comparison scenarios. The evaluation focuses on whether the correct matcher is used for reference identity, deep equality, and strict equality checks.",
"type": "weighted_checklist",
"checklist": [
{
"name": "toBe for primitives",
"description": "Uses expect().toBe() matcher for comparing primitive values (numbers, strings, booleans) in reference identity tests",
"max_score": 20
},
{
"name": "toBe for references",
"description": "Uses expect().toBe() matcher for verifying that two variables reference the same object (reference identity)",
"max_score": 20
},
{
"name": "toEqual for deep equality",
"description": "Uses expect().toEqual() matcher for comparing objects and arrays with the same structure and content, where reference identity is not required",
"max_score": 25
},
{
"name": "toStrictEqual for strict checks",
"description": "Uses expect().toStrictEqual() matcher for strict equality checks that differentiate between sparse arrays and dense arrays with undefined values",
"max_score": 25
},
{
"name": "Correct negation usage",
"description": "Uses .not.toBe() or similar negation correctly when asserting that reference identity check should fail for different object references",
"max_score": 10
}
]
}