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

Fallback on suite test globals if none provided#97

Open
ianwsperber wants to merge 1 commit intoFormidableLabs:mainfrom
ianwsperber:fallback-to-test-globals
Open

Fallback on suite test globals if none provided#97
ianwsperber wants to merge 1 commit intoFormidableLabs:mainfrom
ianwsperber:fallback-to-test-globals

Conversation

@ianwsperber
Copy link
Copy Markdown
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
Copy Markdown
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