|
@@ -23,6 +23,7 @@ const SandboxedModule = require('sandboxed-module')
|
|
|
describe('UpdatesManager', function() {
|
|
describe('UpdatesManager', function() {
|
|
|
beforeEach(function() {
|
|
beforeEach(function() {
|
|
|
this.UpdatesManager = SandboxedModule.require(modulePath, {
|
|
this.UpdatesManager = SandboxedModule.require(modulePath, {
|
|
|
|
|
+ singleOnly: true,
|
|
|
requires: {
|
|
requires: {
|
|
|
'./UpdateCompressor': (this.UpdateCompressor = {}),
|
|
'./UpdateCompressor': (this.UpdateCompressor = {}),
|
|
|
'./MongoManager': (this.MongoManager = {}),
|
|
'./MongoManager': (this.MongoManager = {}),
|