We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5d4b1 commit 32f5e85Copy full SHA for 32f5e85
packages/svelte/tests/runtime-legacy/samples/select-options-spread-attributes/_config.js
@@ -1,19 +1,9 @@
1
import { test } from '../../test';
2
3
export default test({
4
- ssrHtml: `
+ html: `
5
<select>
6
- <option selected value="value" class="option">Label</option>
+ <option value="value" class="option">Label</option>
7
</select>
8
- `,
9
- test({ assert, target, variant }) {
10
- assert.htmlEqual(
11
- target.innerHTML,
12
- `
13
- <select>
14
- <option ${variant === 'hydrate' ? 'selected ' : ''}value="value" class="option">Label</option>
15
- </select>
16
17
- );
18
- }
+ `
19
});
0 commit comments