From e066f5dfc9a400cce9feed3f3f7299b5637d11ab Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Tue, 3 Oct 2017 14:21:16 +0200 Subject: [PATCH] Bug 1403106 - Fix mocha tests; r=Honza. MozReview-Commit-ID: IxmUZuYALt4 --HG-- extra : rebase_source : 83435a1cf81d3fea57b2c636072ed87822b5504d --- .../client/webconsole/new-console-output/test/require-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/client/webconsole/new-console-output/test/require-helper.js b/devtools/client/webconsole/new-console-output/test/require-helper.js index 7f0893105e6a..7cad231ba1d9 100644 --- a/devtools/client/webconsole/new-console-output/test/require-helper.js +++ b/devtools/client/webconsole/new-console-output/test/require-helper.js @@ -35,7 +35,7 @@ requireHacker.global_hook("default", path => { case "Services.default": return `module.exports = require("devtools/client/webconsole/new-console-output/test/fixtures/Services")`; case "devtools/shared/client/object-client": - return `module.exports = require("devtools/client/webconsole/new-console-output/test/fixtures/ObjectClient")`; + return `() => {}`; case "devtools/client/netmonitor/src/components/tabbox-panel": return "{}"; }