Skip to content

Commit b411802

Browse files
committed
test: fix ts
1 parent e132caf commit b411802

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: tests/firestore/options.spec.ts

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ describe('Firestore: Options API', () => {
3535

3636
it('calls custom serialize function with collection', async () => {
3737
const pluginOptions: PluginOptions = {
38+
// @ts-expect-error: FIXME:
3839
serialize: vi.fn(() => ({ foo: 'bar' })),
3940
}
4041
const wrapper = mount(
@@ -82,6 +83,7 @@ describe('Firestore: Options API', () => {
8283

8384
const spy = vi.fn(() => ({ bar: 'bar' }))
8485

86+
// @ts-expect-error: FIXME:
8587
await wrapper.vm.$bind('items', itemsRef, { serialize: spy })
8688

8789
expect(pluginOptions.serialize).not.toHaveBeenCalled()

0 commit comments

Comments
 (0)