Skip to content

Commit e75e0ad

Browse files
author
veeck
committed
Fix tests
1 parent 39bc22c commit e75e0ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unit/functions/updatenotification_spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe("Updatenotification", () => {
106106
expect(repos).toHaveLength(0);
107107

108108
const { error } = require("logger");
109-
expect(error).toHaveBeenCalledWith(`Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
109+
expect(error).toHaveBeenCalledWith(`[updatenotification] Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
110110
});
111111
});
112112

@@ -145,7 +145,7 @@ describe("Updatenotification", () => {
145145
expect(repos).toHaveLength(0);
146146

147147
const { error } = require("logger");
148-
expect(error).toHaveBeenCalledWith(`Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
148+
expect(error).toHaveBeenCalledWith(`[updatenotification] Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
149149
});
150150
});
151151

@@ -186,7 +186,7 @@ describe("Updatenotification", () => {
186186
expect(repos).toHaveLength(0);
187187

188188
const { error } = require("logger");
189-
expect(error).toHaveBeenCalledWith(`Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
189+
expect(error).toHaveBeenCalledWith(`[updatenotification] Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
190190
});
191191
});
192192

@@ -227,7 +227,7 @@ describe("Updatenotification", () => {
227227
expect(repos).toHaveLength(0);
228228

229229
const { error } = require("logger");
230-
expect(error).toHaveBeenCalledWith(`Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
230+
expect(error).toHaveBeenCalledWith(`[updatenotification] Failed to retrieve repo info for ${moduleName}: Failed to retrieve status`);
231231
});
232232
});
233233

0 commit comments

Comments
 (0)