overleaf/services/contacts/test/setup.js

10 lines
234 B
JavaScript
Raw Normal View History

const SandboxedModule = require('sandboxed-module')
SandboxedModule.configure({
requires: {
'logger-sharelatex': { log() {} },
2021-07-13 07:04:47 -04:00
'@overleaf/metrics': { timeAsyncMethod() {} },
},
2021-07-13 07:04:47 -04:00
globals: { Buffer, console, process },
})