Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test new error handling indicating when the sandbox is not found #540

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

0div
Copy link
Contributor

@0div 0div commented Jan 16, 2025

Added a test in js-sdk for e2b-dev/infra#231

Copy link

changeset-bot bot commented Jan 16, 2025

⚠️ No Changeset found

Latest commit: 06ef257

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we do the same for Python?

packages/js-sdk/tests/sandbox/host.test.ts Outdated Show resolved Hide resolved
packages/js-sdk/tests/sandbox/host.test.ts Outdated Show resolved Hide resolved
@0div
Copy link
Contributor Author

0div commented Jan 16, 2025

Could we do the same for Python?

This is more of an integration test rather than a unit test, do you think it's necessary?

@0div
Copy link
Contributor Author

0div commented Jan 16, 2025

Could we do the same for Python?

This is more of an integration test rather than a unit test, do you think it's necessary?

@jakubno maybe relevant to that comment: #519

@0div 0div requested a review from mlejva as a code owner January 18, 2025 01:21
@ValentaTomas ValentaTomas added the Improvement Improvement for current functionality label Jan 18, 2025
@0div 0div force-pushed the return-error-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test branch from f0def1b to a9c283e Compare January 18, 2025 01:48
.gitignore Outdated Show resolved Hide resolved
packages/js-sdk/package.json Outdated Show resolved Hide resolved
packages/js-sdk/package.json Outdated Show resolved Hide resolved
packages/js-sdk/tests/sandbox/commands/sendStdin.test.ts Outdated Show resolved Hide resolved
packages/js-sdk/tests/sandbox/host.test.ts Show resolved Hide resolved
packages/js-sdk/tests/sandbox/host.test.ts Outdated Show resolved Hide resolved
packages/js-sdk/tests/sandbox/host.test.ts Outdated Show resolved Hide resolved
packages/js-sdk/tests/sandbox/host.test.ts Outdated Show resolved Hide resolved
packages/js-sdk/tests/sandbox/host.test.ts Outdated Show resolved Hide resolved
…or-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test
@0div 0div requested a review from jakubno January 18, 2025 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Improvement for current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants