Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Remove order check from SDK. (#675)

Jakub Nováke9f39b07f176
diff --git a/packages/js-sdk/tests/api/list.test.ts b/packages/js-sdk/tests/api/list.test.ts
index 91550646b..9d2ffe84c 100644
--- a/packages/js-sdk/tests/api/list.test.ts
+++ b/packages/js-sdk/tests/api/list.test.ts
@@ -10,15 +10,6 @@ sandboxTest.skipIf(isDebug)('list sandboxes', async ({ sandbox }) => {
sandboxes.map((s) => s.sandboxId),
sandbox.sandboxId
)
-
- // Check that sandboxes are sorted by startedAt in descending order (newest first)
- for (let i = 0; i < sandboxes.length - 1; i++) {
- assert.isAtLeast(
- new Date(sandboxes[i + 1].startedAt).getTime(),
- new Date(sandboxes[i].startedAt).getTime(),
- 'Sandboxes should be sorted by startedAt in descending order'
- )
- }
})
sandboxTest.skipIf(isDebug)('list sandboxes with metadata filter', async () => {