Skip to content

Conversation

@Mark1626
Copy link
Contributor

Fix #231

Copy link
Member

@jeysal jeysal left a comment

Choose a reason for hiding this comment

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

Implementation looks really solid, thanks!

Copy link
Member

@jeysal jeysal left a comment

Choose a reason for hiding this comment

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

LGTM!
pinging @SimenB for a review as well

const testFunctions = new Set(['describe', 'it', 'test']);

const matchesTestFunction = object => object && testFunctions[object.name];
const matchesTestFunction = object => object && testFunctions.has(object.name);
Copy link
Member

Choose a reason for hiding this comment

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

way better, thanks!

@SimenB SimenB merged commit 3587240 into jest-community:master Jul 15, 2019
SimenB pushed a commit that referenced this pull request Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants