// [DEF:stores:Mock]
// @PURPOSE: Mock for $app/stores in tests

import { writable, readable } from 'svelte/store';

export const page = readable({
  url: new URL('http://localhost'),
  params: {},
  route: { id: 'test' },
  status: 200,
  error: null,
  data: {},
  form: null
});

export const navigating = writable(null);

export const updated = {
  check: () => Promise.resolve(false),
  subscribe: writable(false).subscribe
};

// [/DEF:stores:Mock]
