Fix TypeScript errors in test files

- Add missing 'src' property to OpeningMetadata test fixtures

- Add missing 'id' and 'description' properties to Personality test fixtures

- Add missing 'isPlayerWhite' property to EvaluationBar test cases

All tests now pass TypeScript validation. No changes to production code.
This commit is contained in:
Stefan
2026-01-04 10:19:57 +01:00
parent f8cf03c888
commit 7f1c20f553
7 changed files with 19 additions and 7 deletions
+2
View File
@@ -67,9 +67,11 @@ jest.mock("./StartScreen", () => ({
describe("ChessGame Component", () => {
const mockPersonality = {
id: "test",
name: "Test Personality",
systemPrompt: "You are a helpful assistant.",
image: "🤖",
description: "Test description",
};
beforeEach(() => {