pull/4444/head
tanhauhau 5 years ago
parent d28f226688
commit 0622e23f60

@ -7,13 +7,11 @@ export default {
indeterminate: true indeterminate: true
}, },
html: ` html: '<input type=\'checkbox\'>',
<input type='checkbox'>
`,
// somehow ssr will render indeterminate="" // somehow ssr will render indeterminate=""
// the hydrated html will still contain that attribute // the hydrated html will still contain that attribute
ssrHtml: `<input type='checkbox' indeterminate="">`, ssrHtml: '<input type=\'checkbox\' indeterminate="">',
test({ assert, component, target }) { test({ assert, component, target }) {
const input = target.querySelector('input'); const input = target.querySelector('input');

@ -1,5 +1,3 @@
import * as path from 'path';
export default { export default {
props: { props: {
a: 1 a: 1

Loading…
Cancel
Save