Skip to content

Commit 46ed5c3

Browse files
committed
chore(useHydration): fix lint
1 parent 6c5f5e3 commit 46ed5c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/0/src/composables/useHydration/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ describe('useHydration', () => {
123123

124124
expect(mockApp.mixin).toHaveBeenCalledOnce()
125125

126-
const mixinOptions = mockApp.mixin.mock.calls[0][0]
126+
const mixinOptions = mockApp.mixin.mock.calls[0]![0]
127127
expect(mixinOptions).toHaveProperty('mounted')
128128
expect(typeof mixinOptions.mounted).toBe('function')
129129
})
@@ -138,7 +138,7 @@ describe('useHydration', () => {
138138

139139
plugin.install(mockApp as any)
140140

141-
const mixinOptions = mockApp.mixin.mock.calls[0][0]
141+
const mixinOptions = mockApp.mixin.mock.calls[0]![0]
142142
const mountedCallback = mixinOptions.mounted
143143

144144
const rootComponent = { $parent: null }

0 commit comments

Comments
 (0)