pull/16017/head
paoloricciuti 4 months ago
parent 1a5d4b159e
commit 32f5e85060

@ -1,19 +1,9 @@
import { test } from '../../test';
export default test({
ssrHtml: `
html: `
<select>
<option selected value="value" class="option">Label</option>
<option value="value" class="option">Label</option>
</select>
`,
test({ assert, target, variant }) {
assert.htmlEqual(
target.innerHTML,
`
<select>
<option ${variant === 'hydrate' ? 'selected ' : ''}value="value" class="option">Label</option>
</select>
`
);
}
});

Loading…
Cancel
Save