updated sandboxed-module, chai and metrics-sharelatex
This commit is contained in:
@@ -23,6 +23,7 @@ const Errors = require('../../../app/js/Errors')
|
||||
describe('ResourceStateManager', function() {
|
||||
beforeEach(function() {
|
||||
this.ResourceStateManager = SandboxedModule.require(modulePath, {
|
||||
singleOnly: true,
|
||||
requires: {
|
||||
fs: (this.fs = {}),
|
||||
'logger-sharelatex': { log: sinon.stub(), err: sinon.stub() },
|
||||
|
||||
@@ -24,6 +24,7 @@ describe('ResourceWriter', function() {
|
||||
beforeEach(function() {
|
||||
let Timer
|
||||
this.ResourceWriter = SandboxedModule.require(modulePath, {
|
||||
singleOnly: true,
|
||||
requires: {
|
||||
fs: (this.fs = {
|
||||
mkdir: sinon.stub().callsArg(1),
|
||||
|
||||
Reference in New Issue
Block a user