summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/node/fixtures/serviceContainer.js
blob: d846204ef9edc0e595c64b6756fa122555f0929f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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),
};