fix tests

This commit is contained in:
peterkogo
2025-04-16 17:36:05 +02:00
parent 13fdd15f59
commit 2474c8be14
7 changed files with 746 additions and 126 deletions

View File

@@ -35,18 +35,18 @@
{ id: 'A-D', source: 'A', target: 'D' }
]);
let colorMode: ColorMode = $state('system');
let colorMode: ColorMode = $state('light');
</script>
<SvelteFlow bind:nodes bind:edges {colorMode} colorModeSSR={'dark'} fitView>
<SvelteFlow bind:nodes bind:edges {colorMode} colorModeSSR={'light'} fitView>
<Controls />
<Background variant={BackgroundVariant.Dots} />
<MiniMap />
<Panel>
<select bind:value={colorMode} data-testid="colormode-select">
<option value="dark">dark</option>
<option value="light">light</option>
<option value="dark">dark</option>
<option value="system">system</option>
</select>
</Panel>