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

Switch to Jest #635

Merged
merged 42 commits into from Mar 16, 2017
Merged

Switch to Jest #635

merged 42 commits into from Mar 16, 2017

Commits on Mar 16, 2017

  1. devDeps: add jest

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    5cf31e9 View commit details
    Browse the repository at this point in the history
  2. switch to jest

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    2b4fb99 View commit details
    Browse the repository at this point in the history
  3. devDeps: remove mocha

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    9d1eaf4 View commit details
    Browse the repository at this point in the history
  4. devDeps: remove nyc

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    58efec2 View commit details
    Browse the repository at this point in the history
  5. devDeps: add babel-jest (explicit)

    Without this, jest installed with npm 2 (node v4) fails to run ES6 tests.
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    08c4dfc View commit details
    Browse the repository at this point in the history
  6. test: move helpers into test/helpers/

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    5690810 View commit details
    Browse the repository at this point in the history
  7. devDeps: add recursive-copy

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    b8be367 View commit details
    Browse the repository at this point in the history
  8. devDeps: add pify (explicit)

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    041db2d View commit details
    Browse the repository at this point in the history
  9. test: ImportCommand with missing package.json should assert on err.co…

    …de and matching message
    
    Using jest matchers because assert is exasperating
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    4aec36d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    547bfa6 View commit details
    Browse the repository at this point in the history
  11. test/helpers: add fixtureUtils

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    b334178 View commit details
    Browse the repository at this point in the history
  12. test/helpers: init fixtures in _actual_ tmpdir (with Promises)

    Efforts made to ensure temp directory names are stable, unique,
    and naturally sorted.
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    c6f0e0e View commit details
    Browse the repository at this point in the history
  13. devDeps: remove fs-extra

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    51e04ec View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    93b0a7f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e963363 View commit details
    Browse the repository at this point in the history
  16. test: Run coverage in CI

    evocateur authored and Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    f34f04e View commit details
    Browse the repository at this point in the history
  17. test: Always run cached eslint in pretest phase

    Avoid lint errors in CI biting contributors who properly ran `yarn test`
    evocateur authored and Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    c3dd034 View commit details
    Browse the repository at this point in the history
  18. pass --verbose to jest execution in CI

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    688afe8 View commit details
    Browse the repository at this point in the history
  19. bin: fix lint, use strict (node v4+)

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    4dcd80a View commit details
    Browse the repository at this point in the history
  20. lint: include all non-ignored JS, cache only during pretest, and appe…

    …nd --fix
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    11d0167 View commit details
    Browse the repository at this point in the history
  21. initFixture: chdir after git init to hopefully avoid race with initEx…

    …ternalFixture
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    025739b View commit details
    Browse the repository at this point in the history
  22. ImportCommand: initialize external fixture first to avoid Windows rac…

    …e conditions
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    329cfda View commit details
    Browse the repository at this point in the history
  23. jest: remove test/_* from testPathIgnorePatterns

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    9422a56 View commit details
    Browse the repository at this point in the history
  24. InitCommand: add tests

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    671ab45 View commit details
    Browse the repository at this point in the history
  25. update upstream test

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    3ecb1c8 View commit details
    Browse the repository at this point in the history
  26. test: done(err) => done.fail(err)

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    9bd346c View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    0dbdf72 View commit details
    Browse the repository at this point in the history
  28. deps: add graceful-fs (explicit)

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    9cf9fd6 View commit details
    Browse the repository at this point in the history
  29. FileSystemUtilities: use graceful-fs, pass opts.fs to mkdirp

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    cebdecb View commit details
    Browse the repository at this point in the history
  30. deps: upgrade rimraf

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    b30d458 View commit details
    Browse the repository at this point in the history
  31. FileSystemUtilities: add statSync()

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    bf351aa View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    e495df3 View commit details
    Browse the repository at this point in the history
  33. test: use graceful-fs everywhere

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    e674e87 View commit details
    Browse the repository at this point in the history
  34. fixtureUtils: gitInit -> one shell-chained command

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    1a2922a View commit details
    Browse the repository at this point in the history
  35. fixtureUtils: get CURRENT_SHA outside getTempDir(), because it never …

    …changes
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    9a4f364 View commit details
    Browse the repository at this point in the history
  36. fixtureUtils: provide graceful-fs overrides for mkdirpAsync & rimrafA…

    …sync
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    517aee9 View commit details
    Browse the repository at this point in the history
  37. ci: run tests serially (--runInBand) to reduce contention

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    b989ad9 View commit details
    Browse the repository at this point in the history
  38. initFixture: beforeEach chdir and return testDir in same tick, but ch…

    …dir afterEach resolves in the next tick
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    c0b41f8 View commit details
    Browse the repository at this point in the history
  39. ci: limit jest workers in appveyor to emulate --runInBand for windows…

    … only
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    e2c5c18 View commit details
    Browse the repository at this point in the history
  40. ci: haha just kidding windows, --runInBand because your fs parallelis…

    …m sucks
    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    5b3a547 View commit details
    Browse the repository at this point in the history
  41. migrate upstream tests

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    25f5d6d View commit details
    Browse the repository at this point in the history
  42. ChildProcessUtilities: more test coverage

    Daniel Stockman committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    d550b5f View commit details
    Browse the repository at this point in the history