diff --git a/__mocks__/gatsby-plugin-firebase.js b/__mocks__/gatsby-plugin-firebase.js index b5217bf3..bde30fd8 100644 --- a/__mocks__/gatsby-plugin-firebase.js +++ b/__mocks__/gatsby-plugin-firebase.js @@ -220,31 +220,9 @@ class Reference { return Promise.resolve(true); } - /* - const update = async (value) => { - if (resumesPath) { - if (value === null) { - delete __resumesDictionary[databaseLocationId]; - } else { - __resumesDictionary[databaseLocationId] = value; - } - } - + async set(value) { return Promise.resolve(true); - }; - - const set = (value) => { - if (resumesPath) { - if (value === null) { - delete __resumesDictionary[databaseLocationId]; - } else { - __resumesDictionary[databaseLocationId] = value; - } - } - - return Promise.resolve(true); - }; - */ + } } class DataSnapshot {