diff options
Diffstat (limited to 'devtools/client/webconsole/test/node/fixtures/serviceContainer.js')
-rw-r--r-- | devtools/client/webconsole/test/node/fixtures/serviceContainer.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/node/fixtures/serviceContainer.js b/devtools/client/webconsole/test/node/fixtures/serviceContainer.js new file mode 100644 index 0000000000..d846204ef9 --- /dev/null +++ b/devtools/client/webconsole/test/node/fixtures/serviceContainer.js @@ -0,0 +1,27 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +"use strict"; + +module.exports = { + attachRefToWebConsoleUI: () => {}, + emitForTests: () => {}, + onViewSourceInDebugger: () => {}, + onViewSourceInStyleEditor: () => {}, + openNetworkPanel: () => {}, + resendNetworkRequest: () => {}, + sourceMapURLService: { + subscribeByURL: () => { + return () => {}; + }, + subscribeByID: () => { + return () => {}; + }, + subscribeByLocation: () => { + return () => {}; + }, + }, + openLink: () => {}, + // eslint-disable-next-line react/display-name + createElement: tagName => document.createElement(tagName), +}; |