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

Added Jest Environment on top of the test file #5245

Closed
wants to merge 1 commit into from

Commits on Jan 8, 2018

  1. Added Jest Environment on top of the test file

    Without this comment I could not run the test. I was getting: 
    ```
    FAIL  src/sum.test.js
      ● Test suite failed to run
    
        TypeError: environment.setup is not a function
          
          at node_modules/jest-runner/build/run_test.js:112:23
    
    Test Suites: 1 failed, 1 total
    Tests:       0 total
    Snapshots:   0 total
    Time:        0.395s
    Ran all test suites.
    ```
    arsho authored Jan 8, 2018
    Configuration menu
    Copy the full SHA
    6ec389a View commit details
    Browse the repository at this point in the history