diff --git a/crates/base/test_cases/user-worker-san-check/.blocklisted b/crates/base/test_cases/user-worker-san-check/.blocklisted index 2f8c4d7c5..1a343f9d9 100644 --- a/crates/base/test_cases/user-worker-san-check/.blocklisted +++ b/crates/base/test_cases/user-worker-san-check/.blocklisted @@ -23,11 +23,9 @@ link linkSync lstat lstatSync -makeTempDir makeTempDirSync makeTempFile makeTempFileSync -mkdir mkdirSync openSync readDir diff --git a/crates/sb_core/js/bootstrap.js b/crates/sb_core/js/bootstrap.js index 1cab777bb..3129517c9 100644 --- a/crates/sb_core/js/bootstrap.js +++ b/crates/sb_core/js/bootstrap.js @@ -534,6 +534,8 @@ globalThis.bootstrapSBEdge = (opts, extraCtx) => { 'writeTextFile': true, 'readFile': true, 'readTextFile': true, + 'mkdir': true, + 'makeTempDir': true, 'kill': MOCK_FN, 'exit': MOCK_FN,