mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:11:33 +00:00
12 lines
257 B
JavaScript
12 lines
257 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 },
|
||
|
})
|