Cypress Umgebung ok

This commit is contained in:
Ismail Ali
2025-01-26 20:47:56 +01:00
parent d9f2bc3465
commit b2d57fdaff
15 changed files with 6268 additions and 32 deletions

13
jest.setup.ts Normal file
View File

@@ -0,0 +1,13 @@
import "@testing-library/jest-dom";
jest.mock("chart.js/auto", () => ({
default: {
register: jest.fn(), // Mock für register-Methode
},
Chart: jest.fn().mockImplementation(() => ({
destroy: jest.fn(),
update: jest.fn(),
})),
}));
jest.mock("chartjs-plugin-zoom", () => ({}));