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

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

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.

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

No branches or pull requests

1 participant