Skip to content

Commit

Permalink
Fix all-tests break introduced in #633 by always requiring canvas. (#643
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pablo-mayrgundter committed Mar 7, 2023
1 parent 874e3be commit 1436eec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import {disableDebug} from './utils/debug'
import {server} from './__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 1436eec

Please sign in to comment.