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 test scaffold for Deno #456

Closed
wants to merge 1 commit into from
Closed

Add test scaffold for Deno #456

wants to merge 1 commit into from

Conversation

donmccurdy
Copy link
Owner

@donmccurdy donmccurdy commented Dec 22, 2021

Work in progress, attempting to get the unit tests (or most of them, at least) to run in Deno. I'm creating a shim for the 'tape' dependency, based on Deno's built-in Deno.test and assertions. This still gives tap-compatible output, which is nice.

deno test --import-map test/deno-import-map.json --no-check packages/core/test/

Currently any tests relying on NodeIO fails (a lot of tests); this depends on #380. Ideally the unit tests (excluding NodeIO-specific tests) would use a shared utility to get an I/O instance appropriate for the current test environment.

@donmccurdy
Copy link
Owner Author

@donmccurdy donmccurdy added this to the v2.0 milestone Dec 22, 2021
@donmccurdy donmccurdy mentioned this pull request Dec 23, 2021
3 tasks
@donmccurdy donmccurdy modified the milestones: v2.0, Backlog Jan 29, 2022
@donmccurdy
Copy link
Owner Author

Haven't had bandwidth or a reason to work on Deno support for a while, going to close this but if anyone needs Deno support and wants to contribute here please reach out!

@donmccurdy donmccurdy closed this Apr 26, 2022
@donmccurdy donmccurdy deleted the deno-unit-tests branch January 4, 2023 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deno runtime support
1 participant