Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Conversation

@ianwsperber
Copy link
Contributor

Small enhancement to fallback to test suite globals if none is provided. Should help with usability.

@ianwsperber ianwsperber requested review from carbonrobot and removed request for keithcom December 10, 2020 15:51
});

for (const fnName of ['it', 'test']) {
it(`should use the global "${fnName}" if no test function is provided`, async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should test be async here? I don't see any usage of await in this test.

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.

2 participants