overleaf/services/clsi/test/setup.js

20 lines
364 B
JavaScript
Raw Normal View History

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