Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

Support test frameworks other than mocha #65

Merged
merged 1 commit into from
Feb 21, 2018
Merged

Conversation

xavdid
Copy link
Contributor

@xavdid xavdid commented Feb 21, 2018

Mocha is fine, but there's a lot of other ways to test. I added another common one, plus checking for an env variable.

Any test framework can be used by prepending the variable to the command in package.json:

"test": "NODE_ENV=testing my_test_framework"

@xavdid xavdid requested a review from eliangcs February 21, 2018 08:01
Copy link
Member

@eliangcs eliangcs left a comment

Choose a reason for hiding this comment

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

I didn't pull this. Looks straightforward!

@xavdid xavdid merged commit de2049b into master Feb 21, 2018
@xavdid xavdid deleted the better-testing-awareness branch February 21, 2018 22:50
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