forked from mirrors/gecko-dev
16 lines
380 B
JavaScript
16 lines
380 B
JavaScript
const { sinon } = ChromeUtils.import("resource://testing-common/Sinon.jsm");
|
|
|
|
const testGlobal = {
|
|
PKT_PANEL_OVERLAY: class {
|
|
create() {}
|
|
},
|
|
RPMRemoveMessageListener: () => {},
|
|
RPMAddMessageListener: () => {},
|
|
RPMSendAsyncMessage: () => {},
|
|
window: {},
|
|
};
|
|
|
|
Services.scriptloader.loadSubScript(
|
|
"chrome://pocket/content/panels/js/main.bundle.js",
|
|
testGlobal
|
|
);
|