✏️ Code CompletionQA Testing & QA Hard⚡+35 XP
Custom Matcher
Complete to extend Jest with a custom matcher.
✏️ Fill in the blank
expect.___({ toBePositive(received) { return { pass: received > 0, message: () => 'Expected positive' }; } });Complete to extend Jest with a custom matcher.
expect.___({ toBePositive(received) { return { pass: received > 0, message: () => 'Expected positive' }; } });