mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
[monorepo] prepare for zod everywhere epic (#36027)
GitOrigin-RevId: f082ae7fc7857fa72b2c1823645050bd4f6df305
This commit is contained in:
@@ -7,6 +7,11 @@ chai.should()
|
||||
chai.use(sinonChai)
|
||||
|
||||
SandboxedModule.configure({
|
||||
requires: {
|
||||
// pulls in mongodb (via zod ObjectId helpers), which does not compile in
|
||||
// the sandbox (missing TextEncoder)
|
||||
'@overleaf/validation-tools': require('@overleaf/validation-tools'),
|
||||
},
|
||||
globals: { Buffer, JSON, console, process },
|
||||
sourceTransformers: {
|
||||
removeNodePrefix: function (source) {
|
||||
|
||||
Reference in New Issue
Block a user