Skip to content

Commit 32f5e85

Browse files
committed
fix: test
1 parent 1a5d4b1 commit 32f5e85

File tree

1 file changed

+3
-13
lines changed
  • packages/svelte/tests/runtime-legacy/samples/select-options-spread-attributes

1 file changed

+3
-13
lines changed
Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
import { test } from '../../test';
22

33
export default test({
4-
ssrHtml: `
4+
html: `
55
<select>
6-
<option selected value="value" class="option">Label</option>
6+
<option value="value" class="option">Label</option>
77
</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-
}
8+
`
199
});

0 commit comments

Comments
 (0)