Open
Description
Hi
I have below code in my test with jest
import {MockFirebase} from 'firebase-mock';
mockfirebase = new MockFirebase();
mockfirebase.autoFlush();
const ref = mockfirebase.ref('test');
but I get TypeError: mockfirebase.ref is not a function
Also when I console.log(typeof mockfirebase.ref);
it will show object
instead of function. What I am doing wrong?
Metadata
Metadata
Assignees
Labels
No labels