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

Add tests for util/context.ts and fix coverage for asyncLoad #1212

Open
wants to merge 1 commit into
base: update-test-framework
Choose a base branch
from

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Feb 5, 2025

This PR adds a Context-browser.test.ts file that tests the ts/util/context.ts file in a browser by including a fake window object, and a Context-node.test.ts to test ts/util/context.ts when used in node.

Also, two asyncLoad files are adjusted so that the coverage is properly computed.

@dpvc dpvc requested a review from zorkow February 5, 2025 18:37
@dpvc dpvc added this to the v4.0 milestone Feb 5, 2025
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