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

9 lines
234 B
JavaScript

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