Fix yarn test: canvas mock (#503)

* Fix `yarn test`: Move canvas to deps so it gets installed on CI

* Try again

* Back to dev

* Test node 20

* Remove canvas, add jest-canvas-mock

* Back to node v18
This commit is contained in:
Pierre Jacquier
2024-01-09 06:08:44 -05:00
committed by GitHub
parent e3e26fe729
commit c7c211112b
4 changed files with 48 additions and 172 deletions

View File

@ -1,3 +1,4 @@
import 'jest-canvas-mock'
import { BoxGeometry } from 'three'
import { getCommonSphere, loadGeometry } from './three'