mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
9ee92daea3
Use the synctex distributed with TeX Live GitOrigin-RevId: 5a133f21f48fd1e217ab463e8cb2a5cdec8be1af
22 lines
433 B
JavaScript
22 lines
433 B
JavaScript
const chai = require('chai')
|
|
const sinonChai = require('sinon-chai')
|
|
const SandboxedModule = require('sandboxed-module')
|
|
|
|
// Setup chai
|
|
chai.should()
|
|
chai.use(sinonChai)
|
|
|
|
// Global SandboxedModule settings
|
|
SandboxedModule.configure({
|
|
requires: {
|
|
'logger-sharelatex': {
|
|
debug() {},
|
|
log() {},
|
|
info() {},
|
|
warn() {},
|
|
error() {},
|
|
err() {},
|
|
},
|
|
},
|
|
globals: { Buffer, console, process },
|
|
})
|