Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Replace context arg with this #31

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Replace context arg with this #31

merged 1 commit into from
Mar 13, 2022

Conversation

KyleJune
Copy link
Member

If you are only using the nested test grouping syntax, this change should have no impact on you.

See diff for examples/user_flat_test.ts for an example of how to adapt existing flat test grouping code to the new call signature. I decided on making this change to make it easier to add arguments when later implementing the each function from this issue. With context being the first argument, you would have to set a first argument that goes unused even if you are writing a test case that doesn't use context.

@KyleJune KyleJune merged commit fee3973 into main Mar 13, 2022
@KyleJune KyleJune deleted the dev branch March 13, 2022 16:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant