1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 var EXPORTED_SYMBOLS = ["sinon"];
9 var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
11 // ================================================
12 // Load mocking/stubbing library sinon
13 // docs: http://sinonjs.org/releases/v7.2.7/
18 setIntervalWithTarget,
21 } = ChromeUtils.import("resource://gre/modules/Timer.jsm");
22 // eslint-disable-next-line no-unused-vars
27 setIntervalWithTarget,
31 Services.scriptloader.loadSubScript(
32 "resource://testing-common/sinon-7.2.7.js",
35 const sinon = global.sinon;
36 // ================================================