test: update tests

This commit is contained in:
2026-02-12 03:44:31 +05:00
parent 9e1eeb57bc
commit 95d7c81cdf
19 changed files with 413 additions and 484 deletions
@@ -0,0 +1,13 @@
<script lang="ts">
import PreviewControls from "$components/panel/PreviewControls.svelte";
import { SlideDirection } from "$lib/constants";
let { current = 0, max = 5 } = $props();
let direction = $state(SlideDirection.NEXT);
</script>
<PreviewControls bind:current bind:direction {max} />
<div data-testid="current">{current}</div>
<div data-testid="direction">{direction}</div>