diff --git a/__mocks__/browser-request.js b/__mocks__/browser-request.js index 8038262091..7d231fb9db 100644 --- a/__mocks__/browser-request.js +++ b/__mocks__/browser-request.js @@ -12,6 +12,6 @@ module.exports = jest.fn((opts, cb) => { } else if (url && url.endsWith("en_EN.json")) { cb(undefined, {status: 200}, JSON.stringify(en)); } else { - cb(undefined, {status: 404}, ""); + cb(true, {status: 404}, ""); } });