lurq

npm package

Home

jest-canvas-mock

jest-canvas-mock is a library for mocking the HTML canvas element in Jest tests, allowing for more accurate testing of canvas-related functionality. It is particularly useful for unit tests that require a browser-like environment to simulate canvas behavior.

lurq health score
67/100
Confidence
proven
Weekly downloads
2,989,813
Latest version
2.5.8
Last release
Jul 9, 2026
License
MIT

Should you depend on jest-canvas-mock?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks jest-canvas-mock at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other testing packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 1, 2026; this page refreshes every 24 hours. Source repository.