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

Prettier 1.2.2, refactor runCommand #3352

Merged
merged 5 commits into from
Apr 25, 2017
Merged

Conversation

thymikee
Copy link
Collaborator

Summary

Update Prettier to 1.2.2. This required a little change in prettier.js script, so be sure to check that.
I've also unified runCommand's args argument to always be an array, as passing a space-separated string caused problems when filename had a space in it.

Test plan

CI green.

@codecov-io
Copy link

codecov-io commented Apr 23, 2017

Codecov Report

Merging #3352 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3352   +/-   ##
=======================================
  Coverage   64.89%   64.89%           
=======================================
  Files         176      176           
  Lines        6521     6521           
  Branches        4        4           
=======================================
  Hits         4232     4232           
  Misses       2288     2288           
  Partials        1        1
Impacted Files Coverage Δ
...ests/coverage_report/not-required-in-test-suite.js 20% <ø> (ø) ⬆️
packages/jest-util/src/Console.js 0% <ø> (ø) ⬆️
packages/pretty-format/src/index.js 98.06% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3749160...a5ab732. Read the comment docs.

@@ -23,7 +23,7 @@ it('maps code coverage against original source', () => {

const coverageMapFile = path.join(
__dirname,
'../coverage-remapping/coverage/coverage-final.json',
Copy link
Member

Choose a reason for hiding this comment

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

is it on purpose all trailing commas are gone?

Copy link
Member

Choose a reason for hiding this comment

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

Seems, to be, it got removed from patterns in the script. Why?

@thymikee
Copy link
Collaborator Author

Rebased and disabled computed-property-spacing eslint rule.

@cpojer cpojer merged commit 8c2a651 into jestjs:master Apr 25, 2017
@cpojer
Copy link
Member

cpojer commented Apr 25, 2017

awesome!

@thymikee thymikee deleted the prettier-1.2.2 branch April 25, 2017 15:49
tushardhole pushed a commit to tushardhole/jest that referenced this pull request Aug 21, 2017
* Prettier 1.2.2, refactor runCommand

* Fix test-examples

* Run prettier on examples and scripts

* Fix integration_tests

* Disable esilnt's computed-property-spacing
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants