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

Testing: add Deno.TestContext as a parameter to beforeEach and afterEach #6189

Closed
Mr-Duda opened this issue Nov 16, 2024 · 0 comments
Closed

Comments

@Mr-Duda
Copy link

Mr-Duda commented Nov 16, 2024

I have some shared preparation before each test and it requires the test name and test file. This is available in the Deno.TestContext object passed to each test.

It would be very helpful if this object would also be available in the beforeEach and afterEach hooks.

@Mr-Duda Mr-Duda closed this as completed Nov 25, 2024
@Mr-Duda Mr-Duda closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
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 a pull request may close this issue.

1 participant