mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-12 10:19:43 +00:00
Add vitest, add json validation tests, fix broken json files (#566)
This commit is contained in:
parent
000f206d90
commit
03be08be63
208 changed files with 3312 additions and 928 deletions
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();
|
Loading…
Add table
Add a link
Reference in a new issue