overleaf/services/clsi/test/setup.js
2021-07-13 12:04:48 +01:00

19 lines
367 B
JavaScript

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 },
})