Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.

Running tests concurrently, ignoring tests folders in lib#5

Merged
grabbou merged 1 commit intomasterfrom
template_enhancements
Jun 16, 2017
Merged

Running tests concurrently, ignoring tests folders in lib#5
grabbou merged 1 commit intomasterfrom
template_enhancements

Conversation

@rgommezz
Copy link
Contributor

No description provided.

@rgommezz rgommezz requested review from grabbou and zamotany June 15, 2017 19:37
"flow": "flow",
"lint": "eslint src",
"prepublish": "babel src --out-dir lib",
"prepublish": "babel src --out-dir lib --ignore '__tests__/'",
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe it should be --ignore **/__tests__/**

"prepublish": "babel src --out-dir lib --ignore '__tests__/'",
"jest": "jest src",
"test": "npm run flow && npm run lint && npm run jest",
"test": "concurrently \"npm run lint\" \"npm run flow\" \"npm run jest\"",
Copy link
Contributor

Choose a reason for hiding this comment

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

What about having 2 commands: test and test:concurrency or maybe some shorthand like test:c??
The motivation behind this is that, CI usually use test command and it's better to have it running tasks in series, concurrent version should be a opt-in rather than forcing ppl to use that one.

@rgommezz rgommezz force-pushed the template_enhancements branch from 4c393ea to 4952cd0 Compare June 16, 2017 09:53
@rgommezz
Copy link
Contributor Author

@zamotany done, let's merge for now the ignore flag for tests inside lib and I'll open up an issue to discuss the other points

@grabbou grabbou merged commit b25c4e4 into master Jun 16, 2017
@zamotany zamotany deleted the template_enhancements branch June 16, 2017 11:48
@zamotany zamotany restored the template_enhancements branch June 16, 2017 11:48
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.

3 participants