import { page } from 'vitest/browser';
import { describe, expect, it } from 'vitest';
import { render } from 'vitest-browser-svelte';
import Page from './+page.svelte';

describe('/+page.svelte', () => {
	it('should render simulator auth heading', async () => {
		render(Page);
		
		const heading = page.getByRole('heading', { name: 'PhoneCam Web' });
		await expect.element(heading).toBeInTheDocument();
	});
});
