We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e132caf commit b411802Copy full SHA for b411802
tests/firestore/options.spec.ts
@@ -35,6 +35,7 @@ describe('Firestore: Options API', () => {
35
36
it('calls custom serialize function with collection', async () => {
37
const pluginOptions: PluginOptions = {
38
+ // @ts-expect-error: FIXME:
39
serialize: vi.fn(() => ({ foo: 'bar' })),
40
}
41
const wrapper = mount(
@@ -82,6 +83,7 @@ describe('Firestore: Options API', () => {
82
83
84
const spy = vi.fn(() => ({ bar: 'bar' }))
85
86
87
await wrapper.vm.$bind('items', itemsRef, { serialize: spy })
88
89
expect(pluginOptions.serialize).not.toHaveBeenCalled()
0 commit comments