Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

FirebaseStub: cleanup

gianantoniopini53b36a1aad55
diff --git a/__mocks__/gatsby-plugin-firebase.js b/__mocks__/gatsby-plugin-firebase.js
index b5217bf35..bde30fd87 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 {