Skip to content

[pull] main from e2b-dev:main #4

[pull] main from e2b-dev:main

[pull] main from e2b-dev:main #4

Triggered via pull request March 23, 2025 15:47
Status Failure
Total duration 3m 5s
Artifacts

js_sdk_tests.yml

on: pull_request
Build and test SDK
1m 44s
Build and test SDK
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Build and test SDK
Process completed with exit code 1.
tests/sandbox/files/write.test.ts > write file: packages/js-sdk/src/api/index.ts#L21
SandboxError: 401: Invalid API key, please visit https://e2b.dev/docs?reason=sdk-missing-api-key to get your API key. authorization header is missing ❯ handleApiError src/api/index.ts:21:10 ❯ Function.createSandbox src/sandbox/sandboxApi.ts:199:17 ❯ Function.create src/sandbox/index.ts:189:24 ❯ test.extend.sandbox.auto tests/setup.ts:13:23
tests/sandbox/files/watch.test.ts > watch directory changes: packages/js-sdk/src/api/index.ts#L21
SandboxError: 401: Invalid API key, please visit https://e2b.dev/docs?reason=sdk-missing-api-key to get your API key. authorization header is missing ❯ handleApiError src/api/index.ts:21:10 ❯ Function.createSandbox src/sandbox/sandboxApi.ts:199:17 ❯ Function.create src/sandbox/index.ts:189:24 ❯ test.extend.sandbox.auto tests/setup.ts:13:23
tests/sandbox/closed_port.test.ts > closed port in SDK: packages/js-sdk/src/api/index.ts#L21
SandboxError: 401: Invalid API key, please visit https://e2b.dev/docs?reason=sdk-missing-api-key to get your API key. authorization header is missing ❯ handleApiError src/api/index.ts:21:10 ❯ Function.createSandbox src/sandbox/sandboxApi.ts:199:17 ❯ Function.create src/sandbox/index.ts:189:24 ❯ tests/sandbox/closed_port.test.ts:7:15
tests/runtimes/browser/run.test.tsx > browser test: packages/js-sdk/tests/runtimes/browser/run.test.tsx#L34
Error: Matcher did not succeed in 1000ms Ignored nodes: comments, script, style <html lang="en" > <head> <meta charset="UTF-8" /> <link href="/__vitest__/favicon.svg" rel="icon" type="image/svg+xml" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <title> Vitest Browser Tester </title> <link crossorigin="" href="/__vitest_browser__/utils-Owv5OOOf.js" rel="modulepreload" /> </head> <body> <div> <div /> </div> </body> </html>... ❯ waitFor.timeout tests/runtimes/browser/run.test.tsx:34:53 Caused by: Caused by: VitestBrowserElementError: Cannot find element with locator: locator('body').getByText('Hello World') <body> <div> <div /> </div> </body>