Set up vitest with jsdom, fake-indexeddb, @testing-library/svelte, $app mock modules, and agent definitions for test-writer/implementer/reviewer. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
290 B
TypeScript
14 lines
290 B
TypeScript
import { readable, writable } from 'svelte/store';
|
|
|
|
export const page = readable({
|
|
url: new URL('http://localhost'),
|
|
params: {},
|
|
route: { id: '' },
|
|
status: 200,
|
|
error: null,
|
|
data: {},
|
|
form: null,
|
|
});
|
|
|
|
export const navigating = readable(null);
|
|
export const updated = readable(false);
|