Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix sandbox not found test (#715)

Tomas Valenta209e3407daf2
diff --git a/packages/js-sdk/tests/sandbox/host.test.ts b/packages/js-sdk/tests/sandbox/host.test.ts
index e361d7d42..37e45f68c 100644
--- a/packages/js-sdk/tests/sandbox/host.test.ts
+++ b/packages/js-sdk/tests/sandbox/host.test.ts
@@ -56,8 +56,8 @@ sandboxTest.skipIf(isDebug)(
sandboxId: string
code: number
}
- assert.equal(json.message, 'Sandbox not found')
+ assert.equal(json.message, 'The sandbox was not found')
assert.isTrue(sandbox.sandboxId.startsWith(json.sandboxId))
- assert.equal(json.code, 0)
+ assert.equal(json.code, 502)
}
)