Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix js tests

Jakub Novakbaf5c24493a7
diff --git a/packages/js-sdk/test/process.test.mjs b/packages/js-sdk/test/process.test.mjs
index 1a9761d8e..05c6126ef 100644
--- a/packages/js-sdk/test/process.test.mjs
+++ b/packages/js-sdk/test/process.test.mjs
@@ -50,8 +50,8 @@ test('process send stdin', async () => {
rootdir: "/code"
})
await process.sendStdin("ping\n")
- await process
-
+ await process.finished
+
expect(process.output.stdout).toEqual("ping")
// TODO: Parity with Python SDK
// expect(process.output.messages.length).toEqual(1)