mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-15 08:13:05 +00:00
test: add vitest-canvas-mock for local canvas support
Fixes UILayer tests failing locally due to the native canvas package not being compiled. vitest-canvas-mock provides a jsdom-compatible Canvas 2D API mock without requiring native build tools.
This commit is contained in:
@@ -1 +1,2 @@
|
||||
// Add global mocks or configuration here if needed
|
||||
import "vitest-canvas-mock";
|
||||
|
||||
Reference in New Issue
Block a user