MCPcopy
hub / github.com/webpack/webpack / bun-sandbox-setup.js

File bun-sandbox-setup.js

test/bun-sandbox-setup.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"use strict";
2
3// Bun's `node:vm` sandbox is missing the host's web/runtime globals: jest
4// installs them via jest-environment-node's GlobalProxy getters, which Bun does

Callers

nothing calls this directly

Calls 3

restoreFunction · 0.70
requireFunction · 0.70
resolveMethod · 0.65

Tested by

no test coverage detected