Skip to content

Conversation

@Quuxplusone
Copy link

Warning: I'm no node.js expert and this code might not even work. Someone should test it before merging it. :)
It might also be a good idea to factor out the repeated list of "filterable properties" into a single global variable somewhere, and then loop over the list in the two places I'm using it, instead of what I did here.

Fixes #18.

@ghost
Copy link

ghost commented Jun 24, 2019

Any updates on this PR?

}

matchesStringFilter (actual, expected) {
return !expected || (actual == expected)
Copy link

@ghost ghost Jul 13, 2019

Choose a reason for hiding this comment

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

why use ‘!expect’ here?

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

Successfully merging this pull request may close these issues.

Example of filtering on environment variable?

1 participant