Skip to content

Commit

Permalink
Remove todo of try vi.stubGlobal('innerWidth', i)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvestus committed Feb 22, 2024
1 parent accab23 commit 6eb9932
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/composables/useAppBreakpoints.hdom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ describe('composable/useAppBreakpoints', () => {
for (let i = 10; i <= 5000; i += 10) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
// TODO Try vi.stubGlobal('innerWidth', 100)
window.happyDOM.setInnerWidth(i)

const useF = withSetup(() => useAppBreakpoints())
Expand Down

0 comments on commit 6eb9932

Please sign in to comment.