We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original Author: CMCDragonkai
Must use https://github.com/hustcc/jest-canvas-mock if Polykey uses canvas and during jest testing.
This is currently done in Prism.
I have to put this in the tests/setup.ts:
tests/setup.ts
import 'jest-canvas-mock';
This ensures that the canvas element is mocked.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Original Author: CMCDragonkai
Must use https://github.com/hustcc/jest-canvas-mock if Polykey uses canvas and during jest testing.
This is currently done in Prism.
I have to put this in the
tests/setup.ts
:This ensures that the canvas element is mocked.
The text was updated successfully, but these errors were encountered: