migrate from underscore to lodash

This commit is contained in:
Brian Gough
2020-06-15 09:52:21 +01:00
parent 19690e7847
commit 9b92793b89
9 changed files with 10 additions and 18 deletions

View File

@@ -30,7 +30,8 @@ describe('OutputFileOptimiser', function() {
child_process: { spawn: (this.spawn = sinon.stub()) },
'logger-sharelatex': { log: sinon.stub(), warn: sinon.stub() },
'./Metrics': {}
}
},
globals: { Math } // used by lodash
})
this.directory = '/test/dir'
return (this.callback = sinon.stub())