Skip to content

Commit d42b8c1

Browse files
marc-vercelclaude
andauthored
fix(sandbox-mock): re-export SandboxUserAlreadyExistsError (#256)
CI on `main` fails in `@vercel/sandbox-mock`'s `package-exports.test.ts`, which asserts the mock re-exports every runtime value the real SDK exposes: ``` missing export: SandboxUserAlreadyExistsError ``` `SandboxUserAlreadyExistsError` was added to `@vercel/sandbox` (#250) but never added to the mock's re-export list, so the mock's public surface drifted from the real SDK. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 96aa20f commit d42b8c1

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@vercel/sandbox-mock": patch
3+
---
4+
5+
Re-export `SandboxUserAlreadyExistsError` from `@vercel/sandbox-mock` so the mock's public surface matches the real SDK.

packages/vercel-sandbox-mock/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export type {
1818
export {
1919
Session,
2020
SandboxUser,
21+
SandboxUserAlreadyExistsError,
2122
Command,
2223
CommandFinished,
2324
FileSystem,

0 commit comments

Comments
 (0)