mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
c5778fdd05
Refactor logger module to separate concerns GitOrigin-RevId: cf9b1e367d881fb9036b2cb0f5c0529763a44695
11 lines
256 B
JavaScript
11 lines
256 B
JavaScript
const chai = require('chai')
|
|
const sinonChai = require('sinon-chai')
|
|
const SandboxedModule = require('sandboxed-module')
|
|
|
|
// Chai configuration
|
|
chai.should()
|
|
chai.use(sinonChai)
|
|
|
|
SandboxedModule.configure({
|
|
globals: { Buffer, JSON, console, process }
|
|
})
|