| 12345678910111213141516171819202122 |
- const chai = require('chai')
- const sinonChai = require('sinon-chai')
- const SandboxedModule = require('sandboxed-module')
- // Setup chai
- chai.should()
- chai.use(sinonChai)
- // Global SandboxedModule settings
- SandboxedModule.configure({
- requires: {
- 'logger-sharelatex': {
- debug() {},
- log() {},
- info() {},
- warn() {},
- error() {},
- err() {},
- },
- },
- globals: { Buffer, console, process },
- })
|