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

refactor: leverage ES Modules in tests #208

Merged
merged 4 commits into from
May 11, 2023
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented May 11, 2023

  • refactor: remove embedded Deno assert bundle
  • refactor: extract test(name, fn) helper

This is a follow-up for #205; see also #43.

We can import the vendored module using a relative path now.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Move the function creating isolated scopes for individual tests
into the `helpers.js` and use this new shared helper in all tests.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
@bajtos bajtos requested a review from juliangruber May 11, 2023 08:51
@bajtos bajtos mentioned this pull request May 11, 2023
3 tasks
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
@bajtos bajtos enabled auto-merge (squash) May 11, 2023 11:14
@bajtos bajtos merged commit 75462c4 into main May 11, 2023
@bajtos bajtos deleted the refactor-cleanup-es-modules branch May 11, 2023 11:28
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.

2 participants