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

Docs(contributing): Specify global installation of jest while running single tests #775

Closed
anshumanv opened this issue Mar 6, 2019 · 0 comments · Fixed by #777
Closed

Comments

@anshumanv
Copy link
Member

Do you want to request a feature or report a bug?
Docs improvement

What is the current behavior?
Global installation instance of jest cli is missing

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
It should mention to install the jest cli https://jestjs.io/docs/en/getting-started.html#running-from-command-line

If this is a feature request, what is motivation or use case for changing the behavior?
People should know that they need jest-cli

Please paste the results of webpack-cli info here, and mention other relevant information such as programming language.

webpack-cli info

  System:
    OS: macOS 10.14.3
    CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
  Binaries:
    Node: 10.14.1 - /usr/local/bin/node
    Yarn: 1.12.3 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 72.0.3626.119
    Safari: 12.0.3
  npmPackages:
    webpack: 4.x.x => 4.29.6
    webpack-dev-server: ^3.1.10 => 3.2.1

Sending a quick PR. 😄

anshumanv added a commit to anshumanv/webpack-cli that referenced this issue Mar 6, 2019
Add commands to install jest globally for running individual tests

ISSUES CLOSED: webpack#775
anshumanv added a commit to anshumanv/webpack-cli that referenced this issue Mar 6, 2019
Add yarn before jest to grab the local binary of jest from node_modules to run individual tests

ISSUES CLOSED: webpack#775
anshumanv added a commit to anshumanv/webpack-cli that referenced this issue Mar 6, 2019
Add docs to either install jest or use the locally installed binaries from node_modules

ISSUES CLOSED: webpack#775
anshumanv added a commit to anshumanv/webpack-cli that referenced this issue Mar 6, 2019
Updated instructions to run individual tests in contributing.md

ISSUES CLOSED: webpack#775
anshumanv added a commit to anshumanv/webpack-cli that referenced this issue Mar 8, 2019
Added : at the end of paragraphs

ISSUES CLOSED: webpack#775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants