Skip to content

How to call MockFirebase.override()  #114

Description

@Dashing-Daniel-Li

I keep getting this error:
TypeError: __WEBPACK_IMPORTED_MODULE_1_mockfirebase___default.a.override is not a function

In my spec.ts I imported it at the top

import MockFirebase from'mockfirebase';

then in my before each i called:
MockFirebase.override();

Does it need to be in the karma config and where ??
I am making an ionic app using ionic example testing git repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions