test: fix tests and typescript typechecks
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
<!-- InputGroupTest.svelte -->
|
||||
<script>
|
||||
import InputGroup from './InputGroup.svelte';
|
||||
</script>
|
||||
<InputGroup>
|
||||
<input type="text" data-testid="input1" />
|
||||
<input type="text" data-testid="input2" />
|
||||
<button data-testid="button">Кнопка</button>
|
||||
</InputGroup>
|
||||
@@ -1,9 +0,0 @@
|
||||
<!-- SettingsGridTest.svelte -->
|
||||
<script>
|
||||
import SettingsGrid from './SettingsGrid.svelte';
|
||||
</script>
|
||||
<SettingsGrid>
|
||||
<div data-testid="item1">Item 1</div>
|
||||
<div data-testid="item2">Item 2</div>
|
||||
<div data-testid="item3">Item 3</div>
|
||||
</SettingsGrid>
|
||||
@@ -1,7 +0,0 @@
|
||||
<!-- SettingsRowTest.svelte -->
|
||||
<script>
|
||||
import SettingsRow from './SettingsRow.svelte';
|
||||
</script>
|
||||
<SettingsRow label="Test Label">
|
||||
<input type="text" data-testid="test-input" />
|
||||
</SettingsRow>
|
||||
Reference in New Issue
Block a user