Skip to content

Commit 0f4d052

Browse files
committed
fix: add missing imports to test files
1 parent 53492d8 commit 0f4d052

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

desktop/src/lib/BackButton.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { fireEvent, render, screen } from '@testing-library/svelte';
22
import { beforeEach, describe, expect, it, vi } from 'vitest';
3+
import { Button } from 'svelma';
34
import BackButton from './BackButton.svelte';
45

56
// Mock window.history and window.location

desktop/src/lib/Chat/__tests__/ContextEditModal.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fireEvent, render, screen, waitFor } from '@testing-library/svelte';
22
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
33
import '@testing-library/jest-dom';
4+
import { Modal } from 'svelma';
45

56
import { createTestConfig } from '../../../__test-utils__/testConfig';
67
// Test utilities for real API testing

desktop/src/lib/StartupScreen.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { render, screen } from '@testing-library/svelte';
22
import { describe, expect, it, vi } from 'vitest';
3+
import { theme } from '../stores';
34
import StartupScreen from './StartupScreen.svelte';
45

56
// Mock Tauri APIs

0 commit comments

Comments
 (0)