fix tests
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user