mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-09 12:52:50 +00:00
Add vitest, add json validation tests, fix broken json files (#566)
This commit is contained in:
committed by
GitHub
parent
000f206d90
commit
03be08be63
4
frontend/src/__tests__/setupTests.ts
Normal file
4
frontend/src/__tests__/setupTests.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { vi } from "vitest";
|
||||
|
||||
// Mock canvas getContext
|
||||
HTMLCanvasElement.prototype.getContext = vi.fn();
|
||||
Reference in New Issue
Block a user