Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(textlint-formatter): run all tests #403

Merged
merged 2 commits into from
Dec 20, 2017
Merged

fix(textlint-formatter): run all tests #403

merged 2 commits into from
Dec 20, 2017

Conversation

0x6b
Copy link
Member

@0x6b 0x6b commented Dec 19, 2017

Correct mocha test glob pattern to run all tests. Closes #402.

Correct mocha test glob pattern to run all tests. Closes textlint#402.
Copy link
Member

@azu azu left a comment

Choose a reason for hiding this comment

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

Does the tests pass in your local?

Probably, color is disabled in CI env and pass tests.

@@ -16,7 +16,7 @@
"bin/"
],
"scripts": {
"test": "mocha test/*.js"
"test": "mocha test/**/*.js"
Copy link
Member

Choose a reason for hiding this comment

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

Can you try --no-color option?

#402 (comment)

Copy link
Member Author

Choose a reason for hiding this comment

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

Run test from top directory without --no-color have passed successfully.

Copy link
Member Author

Choose a reason for hiding this comment

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

Should I add --no-color option to the package.json, or leave it as it is (at this moment, and fix test cases later)?

Copy link
Member

Choose a reason for hiding this comment

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

Please add --no-color option.
master branch should be always passed tests in any environment.

Disable colors in order to get consistent test result.
Copy link
Member

@azu azu left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@azu azu merged commit 0aa720a into textlint:master Dec 20, 2017
@0x6b
Copy link
Member Author

0x6b commented Dec 20, 2017

Thank you!

@0x6b 0x6b deleted the fix-402 branch December 20, 2017 01:42
azu added a commit that referenced this pull request Dec 23, 2017
Add `--no-color` to `mocha.opts`.
This was introduced in #403, but it was reverted in #407.
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.

None yet

2 participants