Skip to content

Commit fe62dbe

Browse files
ci: apply automated fixes
1 parent e548ded commit fe62dbe

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

packages/lit-virtual/tests/index.test.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ test('should apply updated options via setOptions', async () => {
119119
class ListSetOptions extends LitElement {
120120
private scrollElementRef: Ref<HTMLDivElement> = createRef()
121121

122-
private virtualizerController: VirtualizerController<HTMLDivElement, Element>
122+
private virtualizerController: VirtualizerController<
123+
HTMLDivElement,
124+
Element
125+
>
123126

124127
constructor() {
125128
super()
@@ -169,18 +172,27 @@ test('should apply updated options via setOptions', async () => {
169172
</div>
170173
</div>
171174
<style>
172-
.list { border: 1px solid #e6e4dc; max-width: 100%; }
173-
.scroll-container { height: ${height}px; width: ${width}px; overflow-y: auto; }
175+
.list {
176+
border: 1px solid #e6e4dc;
177+
max-width: 100%;
178+
}
179+
.scroll-container {
180+
height: ${height}px;
181+
width: ${width}px;
182+
overflow-y: auto;
183+
}
174184
</style>
175185
`
176186
}
177187
}
178188

179-
const el = await fixture(html`<test-list-setoptions></test-list-setoptions>` as any)
189+
const el = await fixture(
190+
html`<test-list-setoptions></test-list-setoptions>` as any,
191+
)
180192
await elementUpdated(el)
181193
await waitUntil(
182194
() => el.shadowRoot.querySelector('[data-index="15"]'),
183195
'Element did not render items beyond initial count of 10',
184196
)
185197
expect(el.shadowRoot.querySelector('[data-index="15"]')).toBeTruthy()
186-
})
198+
})

0 commit comments

Comments
 (0)