8000 fix: JS SDK Unit Tests by abhishekpatil4 · Pull Request #1559 · ComposioHQ/composio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: JS SDK Unit Tests #1559

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

fix: JS SDK Unit Tests #1559

wants to merge 6 commits into from

Conversation

abhishekpatil4
Copy link
Contributor
@abhishekpatil4 abhishekpatil4 commented Apr 21, 2025

Sweep Summary Sweep

Updates JS SDK unit tests to work with the production environment by fixing API keys, updating test expectations, and commenting out problematic connection tests.

  • Changed test environment from staging to production in js/config/getTestConfig.ts and updated API keys in both staging and prod config files.
  • Commented out entity.initiateConnection() tests in js/src/sdk/models/Entity.spec.ts that were likely causing test failures.
  • Updated action test in js/src/sdk/models/actions.spec.ts to use Composio's toolkit instead of codeinterpreter's.
  • Modified trigger tests in js/src/sdk/models/triggers.spec.ts to accept both "COMPLETED" and "succe 8000 ss" status values and updated expected config title.

Ask Sweep AI questions about this PR

  • Updated test config to run test cases on prod env
  • Updated Staging & Prod API key
  • Commented out entity.initiateConnection() unit tests
  • Updated action in should execute an action of noauth app unit test from codeinterpreter toolkit's to Composio toolkit's
  • Updated trigger's unit test to expect success & COMPLETED
  • Updated expect values in should get the config of a trigger test case

Copy link
vercel bot commented Apr 21, 2025
edited
Loading

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
composio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 8:01am

Copy link
Contributor

LGTM 👍

Copy link
Contributor

LGTM 👍

Copy link
github-actions bot commented Apr 21, 2025

This comment was generated by github-actions[bot]!

JS SDK Coverage Report

📊 Coverage report for JS SDK can be found at the following URL:
https://pub-92e668239ab84bfd80ee07d61e9d2f40.r2.dev/coverage-14569873934/coverage/index.html

📁 Test report folder can be found at the following URL:
https://pub-92e668239ab84bfd80ee07d61e9d2f40.r2.dev/html-report-14569873934/html-report/report.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0