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:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user