Skip to content

Commit

Permalink
Remove canvas from jest and pkgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-mayrgundter committed Feb 18, 2024
1 parent 436e8b5 commit e9ad80b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 210 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
"@types/three": "^0.146.0",
"babel-jest": "^28.1.3",
"babel-loader": "^8.2.5",
"canvas": "^2.11.0",
"cypress": "^13.2.0",
"cypress-real-events": "^1.10.3",
"esbuild": "0.19.5",
Expand Down
6 changes: 0 additions & 6 deletions tools/jest/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ import {disableDebug} from '../../src/utils/debug'
import {server} from '../../src/__mocks__/server'


// TODO(pablo): this is somehow implicitly referenced in all tests,
// but wasn't included when we added it in #633. This is a quick fixup.
// eslint-disable-next-line
import {Canvas} from 'canvas'


disableDebug()


Expand Down

0 comments on commit e9ad80b

Please sign in to comment.