Skip to content

Commit f77ba12

Browse files
[autofix.ci] apply automated fixes
1 parent be80e79 commit f77ba12

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/runtime-dom/__tests__/customElement.spec.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,14 @@ describe('defineCustomElement', () => {
477477
// https://github.com/jsdom/jsdom/issues/3418
478478
// eslint-disable-next-line vitest/no-disabled-tests
479479
test.skip('shadowRoot should be initialized with delegatesFocus', () => {
480-
const E = defineCustomElement({
481-
render() {
482-
return [h('input', { tabindex: 1 })]
480+
const E = defineCustomElement(
481+
{
482+
render() {
483+
return [h('input', { tabindex: 1 })]
484+
},
483485
},
484-
}, { shadowRootOptions: { delegatesFocus: true } })
486+
{ shadowRootOptions: { delegatesFocus: true } },
487+
)
485488
customElements.define('my-el-with-delegate-focus', E)
486489

487490
const e = new E()

0 commit comments

Comments
 (0)