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

--showConfig change to show all config, jest-editor-support fails #4494

Merged
merged 6 commits into from
Sep 28, 2017
Merged

--showConfig change to show all config, jest-editor-support fails #4494

merged 6 commits into from
Sep 28, 2017

Conversation

recca0120
Copy link
Contributor

Summary

jest 21.0.0
--showConfig flag will return configs

@connectdotz
Copy link
Contributor

I would like to see this fix too. Looks like just a simple lint/whitespace issue, @recca0120, can you fix it so the test can pass. thx.

@codecov-io
Copy link

Codecov Report

Merging #4494 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4494      +/-   ##
==========================================
+ Coverage   56.85%   56.87%   +0.02%     
==========================================
  Files         186      186              
  Lines        6300     6303       +3     
  Branches        3        3              
==========================================
+ Hits         3582     3585       +3     
  Misses       2717     2717              
  Partials        1        1
Impacted Files Coverage Δ
packages/jest-editor-support/src/Settings.js 100% <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 3aebe4f...6a1aa10. Read the comment docs.

@recca0120
Copy link
Contributor Author

@connectdotz done

@cpojer
Copy link
Member

cpojer commented Sep 28, 2017

cc @orta pls review

@orta
Copy link
Member

orta commented Sep 28, 2017

Yep - this looks 👍 @recca0120
Thanks @cpojer

@cpojer cpojer merged commit ff469e0 into jestjs:master Sep 28, 2017
@connectdotz
Copy link
Contributor

@recca0120, @orta, I haven't really tested this, but looking at the code further, it strikes me that the change might break the older jest version which still output config... can you confirm?

@orta
Copy link
Member

orta commented Sep 30, 2017

Hrm, yeah, that's a good point - this would only support Jest 21.

I missed this, at this point we don't know what version of Jest someone is running. Could we possibly check the response and support both?

@connectdotz
Copy link
Contributor

That sounds right, if configs is not available, just fall back to config. @recca0120 do you want to push a PR to fix it?

@recca0120
Copy link
Contributor Author

yes, I'll send PR to fix it laster

tabrindle pushed a commit to tabrindle/jest that referenced this pull request Oct 2, 2017
…stjs#4494)

* --showConfig to show all project configs jestjs#4078

* return configs

* new method getConfigs

* new method getConfigs

* call completed

* eslint
@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