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

chore: integration tests #9

Merged
merged 5 commits into from
Oct 24, 2024
Merged

chore: integration tests #9

merged 5 commits into from
Oct 24, 2024

Conversation

outerlook
Copy link
Collaborator

@outerlook outerlook commented Oct 23, 2024

Description

Related Problem

How Has This Been Tested?

run the new integration tests

@outerlook outerlook self-assigned this Oct 23, 2024
Disabled test concurrency and adjusted file parallelism to avoid nonce errors in Vitest. Updated TypeScript configuration to change rootDir and include test files.
Implemented tests for primitive, composed, and permission-based streams to ensure correct behavior in various scenarios. Additionally, added utilities to facilitate the testing of different wallet roles and transaction management.
Standardize import formatting and replace `value` type from string to number in stream methods. Fixed minor typos and aligned the code for consistency across multiple files, including updates to import styles and type conversions.
Replaced Promise.allSettled with a for-loop for stream destruction in the composedStream integration test. This change ensures that each stream is destroyed sequentially.
@outerlook outerlook marked this pull request as ready for review October 24, 2024 11:31
@outerlook outerlook requested a review from MicBun October 24, 2024 11:31
@MicBun MicBun merged commit 722aa68 into main Oct 24, 2024
4 checks passed
@MicBun MicBun deleted the chore/e2e-tests branch October 24, 2024 12:11
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.

Problem(tsn-sdk-ts): Missing e2e tests
2 participants