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

Merge master into branch #2

Merged
merged 160 commits into from
Feb 9, 2018
Merged

Commits on Dec 20, 2017

  1. Fix typo (#5140)

    createProcesObject -> createProcessObject
    kpman authored and cpojer committed Dec 20, 2017
    Configuration menu
    Copy the full SHA
    1521c51 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2017

  1. Fix Node.js 4 support (#5142)

    * Fix Node.js 4 support
    
    * Use Babel to fix spread operator for Node.js 4
    
    * Fix apply removal
    ai authored and cpojer committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    72983d4 View commit details
    Browse the repository at this point in the history
  2. Reorganize sidebar (#5155)

    hramos authored and cpojer committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    8c7ba7e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2017

  1. New line before quitting watch mode (#5158)

    * New line before quitting watch mode #5150
    
    * New line before quitting watch mode (eslint fix)
    lorenzos authored and cpojer committed Dec 22, 2017
    Configuration menu
    Copy the full SHA
    95c0e5f View commit details
    Browse the repository at this point in the history
  2. moduleFileExtensions extensions is now passed to babel-jest (#5110)

    * moduleFileExtensions extensions is now passed to babel-jest
    
    * Added test to show use of custom files extensions with babel-jest
    
    CHANGELOG: moduleFileExtensions now passed to babel transformer
    
    * Cleanup
    
    Cleaned integration_tests/transform/ecmascript-modules-support/yarn.lock
    Cleaned integration_tests/transform/ecmascript-modules-support/package.json
    Enable testing on windows
    
    * Remove yarn lock
    
    * Add changelog line
    drownbes authored and cpojer committed Dec 22, 2017
    Configuration menu
    Copy the full SHA
    043a8b2 View commit details
    Browse the repository at this point in the history
  3. Release version 22.0.4

    Miguel Jimenez Esun committed Dec 22, 2017
    Configuration menu
    Copy the full SHA
    e879099 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2017

  1. Update condition to avoid infinite recursion in Windows platform (#5161)

    * Update condition to avoid infinite recursion in Windows platform
    
    * Update CHANGELOG.md
    
    * Remove `skipOnWindows` since tests run fine on windows
    Justin-ZS authored and cpojer committed Dec 23, 2017
    Configuration menu
    Copy the full SHA
    5a37891 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2017

  1. feat: add support for generator functions in specs (#5166)

    * feat: add support for generator functions in specs
    
    Fixes #2666
    
    * docs: update changelog with PR link
    SimenB authored and cpojer committed Dec 24, 2017
    Configuration menu
    Copy the full SHA
    23b7e98 View commit details
    Browse the repository at this point in the history
  2. Allowed named classes and functions as BlockNames (#5154)

    * Allowed named classes and functions as BlockNames
    
    describe can now take in classes and functions as the names.
    
    * Added integration test for describe with a class or function
    
    * Corrected globals.test.js.snap
    
    * Mentioned changes in CHANGELOG.md
    
    * Master!
    
    * Added failure for non-string/class/function
    
    * I am become pretty
    
    * Fixed failure message for globals.test.js.snap
    
    * Removed error test case for array-as-descriptor
    
    * Removed error test for array-as-descriptor
    
    * Added allowance for numbers as test descriptors
    
    * Prettier...
    Josh Goldberg authored and cpojer committed Dec 24, 2017
    Configuration menu
    Copy the full SHA
    2cb57a0 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2017

  1. docs: update changelog (#5170)

    * docs: update changelog
    
    * docs: update changelog
    SimenB authored and cpojer committed Dec 25, 2017
    Configuration menu
    Copy the full SHA
    4f8f6fb View commit details
    Browse the repository at this point in the history
  2. chore(package): update dev dependencies (#5175)

    * chore(package): update dev dependencies
    
    * chore: downgrade eslint
    SimenB authored and cpojer committed Dec 25, 2017
    Configuration menu
    Copy the full SHA
    4f685d8 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2017

  1. Configuration menu
    Copy the full SHA
    28b9322 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2017

  1. chore(ci): install rsync (#5184)

    SimenB authored and cpojer committed Dec 27, 2017
    Configuration menu
    Copy the full SHA
    9284b6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3ed6cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97ee7c9 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2017

  1. Allow configuration object in projects array (#5176)

    * Allow configuration object in projects array
    
    * Add changelog
    
    * Fix type of packageRootOrConfig argument
    
    * Move along, nothing to see here...
    
    * Change error message
    
    * Add unit test for readConfig()
    
    * Remove unneeded ?
    
    * Update integration tests
    
    * Add documentation for runner and projects objects
    
    * Add status code checks
    azz authored and cpojer committed Dec 28, 2017
    Configuration menu
    Copy the full SHA
    a439772 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2017

  1. Configuration menu
    Copy the full SHA
    8549900 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2018

  1. Add meta-data arg to JSON event (#5208)

    When running Jest in watch mode, the test results that follow the "No
    tests found related to files changed since last commit" message will be
    empty. This commit adds detection for this message, and emits this info
    with the JSON test results.
    seanpoulter authored and orta committed Jan 3, 2018
    Configuration menu
    Copy the full SHA
    21b608c View commit details
    Browse the repository at this point in the history
  2. Configurations.md typo: "(or) to" (#5210)

    Josh Goldberg authored and cpojer committed Jan 3, 2018
    Configuration menu
    Copy the full SHA
    ab02134 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c321129 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca5d0fc View commit details
    Browse the repository at this point in the history
  5. Improve documentation of describe and test ordering. (#5217)

    * Improve notes on execution order of test file code
    
    Explain that describe blocks are executed first (I've had annoying things where describes were being used to set up state instead of before* hooks), note that tests are run serially in the order they are discovered, and add a note about `test.concurrent`.
    
    * Clarify tests are run serially and tidy up.
    
    * Improve example.
    
    * Update CHANGELOG.md
    
    * Remove test.concurrent documentation
    
    Also fix typo!
    daphtdazz authored and cpojer committed Jan 3, 2018
    Configuration menu
    Copy the full SHA
    4eded0c View commit details
    Browse the repository at this point in the history
  6. Update translators file (#5219)

    kafein authored and cpojer committed Jan 3, 2018
    Configuration menu
    Copy the full SHA
    2b9e7b9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    96a44df View commit details
    Browse the repository at this point in the history
  8. Small config comment change (#5225)

    Testing the publishing bot after giving it write access to the repo
    JoelMarcey authored Jan 3, 2018
    Configuration menu
    Copy the full SHA
    e25eceb View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2018

  1. Configuration menu
    Copy the full SHA
    6896ee6 View commit details
    Browse the repository at this point in the history
  2. Fix --testPathPattern escaping for '\\' on Windows (#5230)

    PR #5054 introduced a regression when handling escaped Windows path
    separators in the `--testPathPattern`. The PR applied the same escaping
    as the "Watch Usage" prompt, which incorrectly escapes `path\\.*file` as
    `path\\\.*file`.
    
    This commit fixes the regular expression used in "Watch Usage" and the
    `--testPathPattern` CLI argument with unit tests.
    seanpoulter authored and cpojer committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    f3fce7b View commit details
    Browse the repository at this point in the history
  3. Git support for --changedFilesWithAncestor (#5189)

    * refactor of findChangedFiles
    
    * make --changedFilesWithAncestor work with git
    
    * fixup! refactor of findChangedFiles
    
    * add withAncestor test to git
    
    * docs: update changedFilesWithAncestor's description
    
    * docs: add --changedFilesWithAncestor fix to changelog
    
    * docs: updated docs for --changedFilesWithAncestor and --lastCommit
    
    * docs: mention --watch in --changedFilesWithAncestor docs
    alsuren authored and cpojer committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    1a039f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c12bce6 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2018

  1. Array keyPath for toHaveProperty (#5220)

    * Add array support for .toHaveProperty keypath argument
    
    * Update .toHaveProperty tests to reflect change and test against arrays as keyPath arguments
    
    * Update docs
    
    * Update change log
    
    * Resolve merge conflic with changelog
    
    * Update documentation to fix .not example for array keyPath
    
    * Update changelog, remove extra single-quote
    
    * Include updated matchers.js snapshot
    dmmulroy authored and cpojer committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    d8ffd68 View commit details
    Browse the repository at this point in the history
  2. Fix code formatting (#5238)

    * Fix code formatting
    
    * Update CHANGELOG.md
    daphtdazz authored and cpojer committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    586064d View commit details
    Browse the repository at this point in the history
  3. Treat dumb terminals as noninteractive (#5237)

    * Treat dumb terminals as noninteractive
    
    * Add basic changelog entry
    nickserv authored and cpojer committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    9cbc26b View commit details
    Browse the repository at this point in the history
  4. [Discussion] Expect only overrides error stack for built-in matchers (#…

    …5162)
    
    * Expect only overrides error stack for built-in matchers
    
    * Fixed naggy lint issue
    
    * Replaced for...of with Object.keys().forEach()
    
    * Removed JestAssertionError export (as it is no longer needed)
    
    * Added custom matcher test
    
    * Adjusted custom_matcher test to use prettified, non-absolute stack
    
    * test: refactor integration test
    
    * update with correct snapshot
    
    * test: skip on windows
    
    * Clarified comment
    
    * Further clarified comment
    
    * test: fix test for node 6
    
    * test: move custom matcher stack to separate file to be able to skip it on windows
    
    * Revert "test: fix test for node 6"
    
    This reverts commit f902b4b.
    
    * test: really fix node 6
    
    * docs: add package prefix to changelog
    
    also format all markdown files
    
    * Reverted unrelated Markdown changes that had made their way into the branch
    
    * Replaced '__jestInternal' string attribute with a Symbol
    
    * Updated snapshot
    bvaughn authored and cpojer committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    84abf60 View commit details
    Browse the repository at this point in the history
  5. pass testConsole to TestEnvironment (#5227)

    Kent C. Dodds authored and cpojer committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    e776fdd View commit details
    Browse the repository at this point in the history
  6. jest-environment-jsdom: add ? to options parameter (#5240)

    As suggested by @thymikee 
     in #5227 (comment)
    Kent C. Dodds authored and cpojer committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    8b518a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2018

  1. Escape glob characters in rootDir before interpolating into testMatch (

    …#5224)
    
    * add failing test for rootDir containing parentheses
    
    * escape globbing characters in rootDir when interpolating
    rimunroe authored and cpojer committed Jan 6, 2018
    Configuration menu
    Copy the full SHA
    ffec104 View commit details
    Browse the repository at this point in the history
  2. Allow unmatched test paths from CLI (#3882)

    * Allow to pass the exact test filenames
    
    * Replaced custom check with fs.existsSync(), added tests
    
    * Changed licence to MIT
    
    * Fixed tests
    valerybugakov authored and cpojer committed Jan 6, 2018
    Configuration menu
    Copy the full SHA
    9cd00e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9a3df0 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2018

  1. Add type checks for asymmetric matchers (#5069)

    * Add type checks for asymmetric matchers
    
    * Expect other to only be a string
    rogeliog authored and cpojer committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    b86d932 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2018

  1. Configuration menu
    Copy the full SHA
    38aec14 View commit details
    Browse the repository at this point in the history
  2. Add moduleNameMapper ordering note to the documentation (#5249)

    * Add moduleNameMapper ordering note to the documentation
    
    * Add changelog entry
    emileber authored and cpojer committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    105c25e View commit details
    Browse the repository at this point in the history
  3. Add changelog for #5069 (#5250)

    rogeliog authored and cpojer committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    6d353cc View commit details
    Browse the repository at this point in the history
  4. implement spyOnProperty method (#5107)

    * feat: implement spyOnProperty method, fixes #5106
    
    * style: fix indentation of mock, runtime, jasmine2
    
    * test: fix failing tests for spyOnProperty
    
    * test: implement tests for #1214
    
    * style: fix eslint errors
    
    * refactor: proxy spyOnProperty call behind spyOn
    
    * refactor: remove useless console.log
    
    * style: fix eslint errors
    
    * types: remove declaration of spyOnProperty
    
    * docs: add documentation for accessType argument of spyOn
    
    * docs: fix typo in spyOn docs
    
    * test(spyOn): fix typo in should throw on invalid input
    
    * test(spyOn): add tests for setters
    
    * docs(spyOn): add example for spying on setters
    
    * style: fix eslint errors
    
    * refactor: format error messages with getErrorMsg()
    
    * style: fix eslint errors
    
    * revert: restore snapshotState.getUncheckedKeys()
    phra authored and cpojer committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    490f435 View commit details
    Browse the repository at this point in the history
  5. Fix typo in test file name in React documentation (#5254)

    * Fix typo in test file name in React documentation
    
    * Update name of snapshot file
    paskhaver authored and SimenB committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    2daf8fe View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. docs: Reword 3-argument jest.spyOn description (#5255)

    * docs: Reword spyOn with accessType
    
    * Run lint on .md files
    
    * Shift comments placement
    
    * Update CHANGELOG.md
    thymikee authored and cpojer committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6931b0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93acfb0 View commit details
    Browse the repository at this point in the history
  3. Use a better console-clearing string on Windows (#5251)

    * Use a better console-clearing string on Windows
    
    * Update CHANGELOG.md
    gaearon authored and cpojer committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    cd807f3 View commit details
    Browse the repository at this point in the history
  4. Clarifying the docs about test.only (#5262)

    * Clarifying the docs about test.only
    
    It wasn't clear that test.only just applys to a single file.
    
    * Update GlobalAPI.md
    jhbalestrin authored and cpojer committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    e5b9339 View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG.md (#5264)

    SimenB authored and cpojer committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    398a238 View commit details
    Browse the repository at this point in the history
  6. Release 22.0.5

    Miguel Jimenez Esun committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c074b03 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e95ec14 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. Resolve #5216 (#5269)

    PR #5054 added a call to `replacePathSepForRegex` to escape values of the
    `--testPathPattern` and `<regexForTestFiles>` CLI options. Since the Windows
    path separator and the regular expression special character delimeter are the
    same character, this can lead to ambiguous patterns (e.g.: `app\book\d*\`).
    
    This commit:
    - Removes escaping CLI args with `replacePathSepForRegex` to leave them as is
      unless it's a POSIX path separator on Windows
    
    - Changes the tests in `normalize.test.js` to run the same test suite for
      `--testPathPattern` and `<regexForTestFiles>`
    
    - Reverts the changes to `replacePathSepForRegex` from #5230 but keeps the tests
      for the intended behavior. It will be complicated to escape the "safe" cases
      when `\` is a path separator and not a regular expression delimeter. Instead
      of getting fancy, we can urge Windows users to use `/` or `\\` as a path
      separator.
    seanpoulter authored and cpojer committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3ffc99e View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2018

  1. Configuration menu
    Copy the full SHA
    5956891 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    239f1ec View commit details
    Browse the repository at this point in the history
  3. Fix memory leak from snapshot printing (#5279)

    * Fix memory leak from obsolete snapshot printing
    
    * Update issue number
    
    * Rm "obsolete" to remove confusion
    
    * Update index.js
    rickhanlonii authored and cpojer committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    4bcfe19 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    cpojer committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    27fc2ac View commit details
    Browse the repository at this point in the history
  5. 22.0.6

    cpojer committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    1892fbd View commit details
    Browse the repository at this point in the history
  6. Add #5269 to docs and change log (#5284)

    seanpoulter authored and cpojer committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    d9f9aab View commit details
    Browse the repository at this point in the history
  7. Document caveat with mocks, Enzyme, snapshots and React 16 (#5275)

    * Document caveat with mocks, Enzyme, snapshots and React 16.
    
    Closes #5258. Update the documentation to describe the warnings that are
    emitted by React 16 when using Enzyme, mocked components and snapshot
    testing.
    
    * Update CHANGELOG.md
    
    * Describe further options to work around warnings
    pugnascotia authored and thymikee committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    2d07714 View commit details
    Browse the repository at this point in the history
  8. Interactive Snapshot Update mode (#3831)

    * Prototype Interactive Snapshot updates
    
    * SnapshotInteractive logic moved into a dedicate file
    
    * Unit tests for SnapshotInteractiveMode
    
    * Remove unfinish test
    
    * Ignore JetBrains IDE meta data folder
    
    * SnapshotInteractive callback use a bool to mark snapshot update
    
    * Fix the Snapshot Interactive tests by using bool
    
    * Remove unused function, but logic to update snapshot need to be abstracted
    
    * New Snapshot file
    
    * Fix code style of snapshot interactive test
    
    * Fixes after rebase
    
    * Patch with @thymikee review
    genintho authored and cpojer committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    2dd69b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2018

  1. Update Configuration.md (#5287)

    * Update Configuration.md
    
    * Update Configuration.md
    rafalp authored and cpojer committed Jan 12, 2018
    Configuration menu
    Copy the full SHA
    19376c1 View commit details
    Browse the repository at this point in the history
  2. Make [jest-cli] not error when no tests are found with --findRelatedT…

    …ests, --lastCommit or --onlyChanged options (#5127)
    emilgoldsmith authored and cpojer committed Jan 12, 2018
    Configuration menu
    Copy the full SHA
    c799a02 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2018

  1. Fix a leak in coverage (#5289)

    rickhanlonii authored and mjesun committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    6d2394f View commit details
    Browse the repository at this point in the history
  2. Fix typos in documentation (#5301)

    rickhanlonii authored and cpojer committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    09e47d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2018

  1. Standardize file names: Fix integration folder names (#5298)

    * chore(filenames): use dash for integration_tests/
    
    * chore(filenames): fix intergration-tests subfolders
    
    Fixes all the folder names in the integration-tests folder to follow Facebook internal file / folder
    naming conventions. This is the first of several incremental PRs.
    jamischarles authored and cpojer committed Jan 14, 2018
    Configuration menu
    Copy the full SHA
    0580b5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0370ad View commit details
    Browse the repository at this point in the history
  3. Cleanup from last review (#5302)

    * Cleanup from last review
    
    * Can't use object spread
    rickhanlonii authored and cpojer committed Jan 14, 2018
    Configuration menu
    Copy the full SHA
    c9cf010 View commit details
    Browse the repository at this point in the history
  4. fix(jest-cli): use import-local to support global Jest installations (

    #5304)
    
    * fix(jest-cli): use `import-local` to support global Jest installations
    
    Fixes #5294
    
    * docs: update changelog
    SimenB authored and cpojer committed Jan 14, 2018
    Configuration menu
    Copy the full SHA
    6e788b1 View commit details
    Browse the repository at this point in the history
  5. Correct changelog (#5306)

    rickhanlonii authored and cpojer committed Jan 14, 2018
    Configuration menu
    Copy the full SHA
    b6f5f79 View commit details
    Browse the repository at this point in the history
  6. Fix missing newline after "no files changed" (#5308)

    * Fix missing newline after "no files changed"
    
    * Try to fix formatting
    
    * Try to fix prettier formatting
    
    * Use PR link in changelog
    sachinmk27 authored and cpojer committed Jan 14, 2018
    Configuration menu
    Copy the full SHA
    afc0a49 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2018

  1. Configuration menu
    Copy the full SHA
    634e474 View commit details
    Browse the repository at this point in the history
  2. make --lastCommit and --changedFilesWithAncestor work without --onlyC…

    …hanged (#5307)
    
    * make --lastCommit and --changedFilesWithAncestor work without --onlyChanged
    
    * add fix to changelog
    alsuren authored and cpojer committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    274b84a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6fa7e3 View commit details
    Browse the repository at this point in the history
  4. Jest 22.1.0

    cpojer committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    cdc048d View commit details
    Browse the repository at this point in the history
  5. chore: include #5107 in CHANGELOG.md (#5314)

    `spyOn` in getters and setters is available starting from Jest v. 22.0.5, see #5107
    phra authored and cpojer committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    158cd63 View commit details
    Browse the repository at this point in the history
  6. Move from "process.exit" to "exit (#5313)

    mjesun authored and cpojer committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    03cce3d View commit details
    Browse the repository at this point in the history
  7. Release v22.1.1

    Miguel Jimenez Esun committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    8b46fa8 View commit details
    Browse the repository at this point in the history
  8. Verify passed test path is a file before resolving (#5317)

    * Verify passed test path is a file before resolving
    
    * Update CHANGELOG
    
    * Cut one FS operation with try-catch
    
    * Remove jest version number in CHANGELOG
    LINKIWI authored and cpojer committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    d73328f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5b3fad8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dd848f3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7743c09 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. Add restoreMocks config to fix #3580 (#5327)

    * Added restoreMocks config option
    
    * Changed tests to use jest.spyOn, since that's what restore impacts
    
    * Changed tests to use correct toHaveBeenCalled() syntax
    
    * Added changelog entry
    gricard authored and cpojer committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    bb21f0b View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2018

  1. Configuration menu
    Copy the full SHA
    c8bb0a7 View commit details
    Browse the repository at this point in the history
  2. Release v22.1.2

    Miguel Jimenez Esun committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    a441ecf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30a9ca2 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Add an option to spawn command in a shell (#5340)

    * Add tests for Process.js
    
    * Add option to spawn command inside a shell
    
    * Add tests for constructor, start, and closeProcess
    
    * Add option to spawn command in a shell
    
    * Add #5340 to change log
    
    * Fix build errors
    seanpoulter authored and cpojer committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    06bbe2d View commit details
    Browse the repository at this point in the history
  2. Fix failing tests from #5340 (#5342)

    seanpoulter authored and SimenB committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    054271c View commit details
    Browse the repository at this point in the history
  3. Exclude files from running if they match with the ignoring pattern (w…

    …hen run via file mode) (#5341)
    mjesun authored Jan 18, 2018
    Configuration menu
    Copy the full SHA
    a33ffa1 View commit details
    Browse the repository at this point in the history
  4. Release v22.1.3

    Miguel Jimenez Esun committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    f040725 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2018

  1. replace preset-es2015 with preset-env (#5346)

    preset-es2015 was already deprecated and should be replaced by preset-env
    nicholaslee119 authored and SimenB committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    e8eb1d1 View commit details
    Browse the repository at this point in the history
  2. chore: add missing release to changelog (#5348)

    * chore: add missing release to changelog
    
    * docs: run prettier on all markdown
    
    * docs: add missing parens in changelog
    SimenB authored and cpojer committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    630b5c0 View commit details
    Browse the repository at this point in the history
  3. jest --changedSince=origin/master (#5312)

    * --changedFilesToContributeTo=$BRANCH
    
    make changedFilesToContributeTo require an arg, and imply onlyChanged
    
    * rename; reorder; fix CLI.md
    
    * doc changes from review comments
    alsuren authored and cpojer committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    9f9c5e8 View commit details
    Browse the repository at this point in the history
  4. Optimize Webstie images (#5349)

    * Remove empty doc page
    
    * optimize img/content images
    
    * optimize logo images
    
    * optimize images used on the doc site
    genintho authored and cpojer committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    fbcbf21 View commit details
    Browse the repository at this point in the history
  5. Fix package main resolving issue (#5344)

    * Fix package main resolving issue
    
    * Update changelog
    
    * Add test for pkgmain fix
    kenzable authored and cpojer committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    5943dc9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7f715c8 View commit details
    Browse the repository at this point in the history
  7. Release v22.1.4

    Miguel Jimenez Esun committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    4da1417 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2018

  1. fix(jest): import-local should be used in main jest pakage (#5353)

    * fix(jest): `import-local` should be used in main jest pakage
    
    * docs: update changelog
    
    * Update CHANGELOG.md
    SimenB authored and cpojer committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    b19f977 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d82c1c2 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2018

  1. Configuration menu
    Copy the full SHA
    36c705b View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2018

  1. Adding async versions of mockReturnValue & mockreturnValueOnce (#5318)

    * Adding async utility versions of mockReturnValue & mockreturnValueOnce
    
    * Fixing rejection tests
    
    * simplify assertions
    
    * Adding changes to CHANGELOG and Docs
    
    * Fixing doc examples
    m4n3z40 authored and cpojer committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    139f976 View commit details
    Browse the repository at this point in the history
  2. fix: Support class instances in .toHaveProperty() matcher (#5367)

    * fix: Support class instances in .toHaveProperty() matcher
    
    * update changelog
    thymikee authored and cpojer committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    cfce36c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fec36ae View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Configuration menu
    Copy the full SHA
    be66ccc View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2018

  1. Added some languages to missing markdown fencing blocks (#5378)

    * Touching up some markdown rules
    
    * Missed 3 files!
    
    * Addressed linter error, reverted a block that wasn't actually js
    
    * run lint:md
    Drew Diamantoukos authored and SimenB committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    c8de0c8 View commit details
    Browse the repository at this point in the history
  2. mockRejectedValueOnce -> mockResolveValueOnce (#5373)

    * mockRejectedValueOnce -> mockResolveValueOnce
    
    Changed the duplicated mockRejectedValueOnce to mockResolveValueOnce
    
    * For got the letter 'd'
    johnslay authored and SimenB committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    79086ee View commit details
    Browse the repository at this point in the history
  3. docs: replace preset-es2015 with preset-env (#5385)

    Kent C. Dodds authored and thymikee committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    a10288f View commit details
    Browse the repository at this point in the history
  4. Fix npm update command for snapshot summary (#5376)

    * add special option -- for npm update command
    
    * Update CHANGELOG.md
    kdnakt authored and cpojer committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    4080d98 View commit details
    Browse the repository at this point in the history
  5. Make rejects and resolves synchronous (#5364)

    * Make `makeRejectMatcher` synchronizable (#5361)
    
    * Reorganize code using promise instaed of async/await
    
    * Update changelog
    
    * Move rejectedHandler onto then
    
    * Make `makeResolveMatcher` synchronizable
    
    * Update a snapshot
    
    * Update CHANGELOG.md
    
    * Update CHANGELOG.md
    incleaf authored and cpojer committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    4585c73 View commit details
    Browse the repository at this point in the history
  6. Document class mocks (#5383)

    * WIP on documenting ES6 class mocks
    
    * WIP on Es6ClassMocks.md
    
    * WIP on Es6ClassMocks.md
    
    * Completed first draft of Es6ClassMocks.md
    
    * Second draft of Es6ClassMocks.md
    
    * Another draft of Es6ClassMocks.md. Still need to cut some content out - it's huge.
    
    * WIP: Updating with new info on automatic mocks.
    
    * WIP on Es6ClassMocks.md
    
    * Final draft of Es6ClassMocks.md
    
    * Keep code examples to 80 columns
    
    * Updated changelog
    
    * Removed incorrect statement about manual mocks
    
    * Fixed linter errors
    jonathan-stone authored and cpojer committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    c243f67 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2018

  1. Update README.md (#5319)

    orta authored and cpojer committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    ac7c3b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2018

  1. Configuration menu
    Copy the full SHA
    922b037 View commit details
    Browse the repository at this point in the history
  2. Update Es6ClassMocks.md (#5402)

    Gavinchen92 authored and SimenB committed Jan 27, 2018
    Configuration menu
    Copy the full SHA
    0816692 View commit details
    Browse the repository at this point in the history
  3. Load modules from node_modules before custom paths (#5403)

    * Load modules from node_modules before custom paths
    
    * Update CHANGELOG
    
    * Update CHANGELOG
    vlasy authored and cpojer committed Jan 27, 2018
    Configuration menu
    Copy the full SHA
    0110101 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2018

  1. Add summary_reporter.test.js (#5389)

    * add special option -- for npm update command
    
    * Update CHANGELOG.md
    
    * add testcase for summary_reporter.js
    
    * add testcase for yarn
    
    * Update CHANGELOG.md
    
    * import SummaryReporter at the top
    
    * remove duplicated definition of results
    
    * remove description
    
    * add snapshot test
    
    * update test title
    
    * remove duplicated line
    
    * add missing attributes for test results
    kdnakt authored and cpojer committed Jan 28, 2018
    Configuration menu
    Copy the full SHA
    2167439 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e55c7c View commit details
    Browse the repository at this point in the history
  3. Prevent a ENOENT crash by checking for file existence in jest-message…

    …-util (#5405)
    
    * Prevent a ENOENT crash by checking for existence
    
    Jest tries to load the stack-trace based on the top frame. The problem is, the filename may be provided by the source-map, which is unreliable since it can point to a non-existent file. In such a case, the code would cause a hard crash of "Test suite failed to run" with a stack-trace pointing at "exports.formatStackTrace", which I have corrected here.
    
    * add an integration test for bad-source-map case
    
    * lint CHANGELOG
    
    * use a try-catch rather than fs.existsSync
    niieani authored and cpojer committed Jan 28, 2018
    Configuration menu
    Copy the full SHA
    2f0dec5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffb3be8 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2018

  1. fix: absolute paths in moduleDirectories are invalid in Windows OS (#…

    …5398)
    
    * fix #5396: preserve absolute paths in `moduleDirectories`
    
    * refactor unit tests
    
    * pretty
    
    * refactor: use mock
    
    * bug fix
    
    * CHANGELOG
    
    * adjust sample data in unit tests
    
    * adjust sample data in unit tests
    warren-bank authored and cpojer committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    1f6e35c View commit details
    Browse the repository at this point in the history
  2. chore: Use Flow 0.64.0 (#5419)

    thymikee authored and cpojer committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    03bf2a9 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2018

  1. Fixed the bug where mocking a file with the filename resolved as back…

    …ticks would fail (#5426)
    
    * Fixed the bug where mocking a file with the filename resolved as backticks would fail
    
    * Updated changelog
    
    * Added license info
    
    * Fixed the unit test related to the backticks issue and updated the changelog with the PR link
    
    * Update CHANGELOG.md
    
    * Update CHANGELOG.md
    rafaelramalho19 authored and cpojer committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    c885f41 View commit details
    Browse the repository at this point in the history
  2. Filter non-JS files from require when using glob with --projects (#…

    …5412)
    
    * Add test for workspaces with a README.md in the root
    
    * Filter projects to directories & require-able files only
    
    This ensures `packages/*` catches folders & not README.md
    
    * Add reference to #5199 in CHANGELOG.md
    
    * Remove custom testDir
    ericclemmons authored and cpojer committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    dea270b View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. Configuration menu
    Copy the full SHA
    6635d93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7126de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d743fec View commit details
    Browse the repository at this point in the history
  4. Fix recursive process.exit calls (#5445)

    mjesun authored and cpojer committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    4ceed46 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fece4be View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2018

  1. docs: use AmE spelling of behavior (#5453)

    102 authored and cpojer committed Feb 4, 2018
    Configuration menu
    Copy the full SHA
    884b95d View commit details
    Browse the repository at this point in the history
  2. Update Webpack URL (#5454)

    Samarth Verma authored and cpojer committed Feb 4, 2018
    Configuration menu
    Copy the full SHA
    28631fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1fda501 View commit details
    Browse the repository at this point in the history
  4. Hide interactive mode if there are no failed snapshot tests (#5450)

    * Hide interactive mode if there are no failed snapshot tests
    
    * Update changelog
    rickhanlonii authored and cpojer committed Feb 4, 2018
    Configuration menu
    Copy the full SHA
    a24204a View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2018

  1. Configuration menu
    Copy the full SHA
    af09be8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae3d55e View commit details
    Browse the repository at this point in the history
  3. Update docs (#5467)

    Update Webpack URL
    Samarth Verma authored and cpojer committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    d6781c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5229f35 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bda02e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2018

  1. [Proposal] Watch plugins API (#5399)

    * Start adding tapable
    
    * Use test_path_pattern as a plugin
    
    * Use test_name_pattern as a plugin
    
    * Use quit as a plugin
    
    * Fix test interruption
    
    * Use update snapshot as a plugin
    
    * Use update snapshot interactive as a plugin
    
    * Change API to use a class instance
    
    * A bit of clean up and make tests pass
    
    * Change plugin implementation to not use tapable
    
    * Better sorting implementation
    
    * Add back third party plugin functionality
    
    * Fix flow
    
    * Fix ESLint
    
    * Reset file to state of master
    
    * Update failing snapshot
    
    * Remove hasSnapshotFailure and hasSnapshotFailureInteractive
    
    * Async await for showPrompt and clear active plugin on file change
    
    * Fix snapshot failure
    
    * Reenable tests
    
    * Implement shouldRunTestSuite
    
    * Add changelog
    
    * Clean up watch.js a bit
    rogeliog authored and cpojer committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    4561959 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    faf8883 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. Configuration menu
    Copy the full SHA
    a94d130 View commit details
    Browse the repository at this point in the history
  2. Improve description line when assertion fails: part 1 (#5437)

    * Improve description line when assertion fails: part 1
    
    * Replace conditional ands with default and destructuring
    
    * Replace using Object.is with Object.is equality
    
    * Update 1 more snapshot matchers test for jest-jasmine
    pedrottimark authored and cpojer committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    8fb789c View commit details
    Browse the repository at this point in the history
  3. Add diff-sequences package (#5407)

    * Add diff-sequences package
    
    * Update CHANGELOG.md
    
    * Replace NOT_YET_USED with NOT_YET_SET
    
    * Replace utility with command
    
    * Tame prettier
    
    * Add 4 tests
    
    * Replace  with type cast to any
    
    * Fix prettier errors
    
    * Remove export from type declarations
    
    * Correct aLength and bLength in README.md
    pedrottimark authored and cpojer committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    ad91d0a View commit details
    Browse the repository at this point in the history
  4. Created --notifyMode option for notifications on certain events (#5125)

    * added notifyMode flag to specify when a notification should display
    
    forgot about other notifyMode configs
    
    add notifyMode to normalize
    
    Created TestSchedulerContext to save previous status of test to make the change option work
    
    updated docs
    
    minor linting fix
    
    Added additional options such as success-change and failure-change
    
    Put conditions back in if else clauses
    
    Fixed documentation on notifyMode
    
    Added notify reporter test (for review)
    
    Finished NotifyReporter tests. Testing against simulated sequences of events.
    
    * hipsters and their emojis 😞
    
    * icons might not show in some envs
    
    * Update CHANGELOG.md
    psilospore authored and cpojer committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    1947496 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e4d03fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b78f3c View commit details
    Browse the repository at this point in the history
  7. Release v22.2.0

    Miguel Jimenez Esun committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    79dcdd3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c9634d0 View commit details
    Browse the repository at this point in the history
  9. Let "--all" override "--onlyChanged" (#5486)

    * Let "--all" override "--onlyChanged"
    
    * Add test
    mjesun authored and cpojer committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    87cd2ff View commit details
    Browse the repository at this point in the history
  10. Changelog

    Miguel Jimenez Esun committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    766ce1a View commit details
    Browse the repository at this point in the history
  11. Release v22.2.1

    Miguel Jimenez Esun committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    9797f23 View commit details
    Browse the repository at this point in the history
  12. Fix Node.js 4 support (#5489)

    ai authored and mjesun committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    c8d1c79 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2018

  1. Configuration menu
    Copy the full SHA
    efec054 View commit details
    Browse the repository at this point in the history
  2. Revert "Remove retainLines from babel-jest (#5439)" (#5496)

    * Revert "Remove retainLines from babel-jest (#5439)"
    
    This reverts commit 6635d93.
    
    * changelog
    
    * moar changelog
    SimenB authored and cpojer committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    3942361 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2018

  1. Standardize file names: Fix file names in root (#5500)

    * standardize file names in root
    
    * Update CHANGELOG
    Michael Baldwin authored and cpojer committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    7c398db View commit details
    Browse the repository at this point in the history
  2. Add testPath to suite in jest-jasmine2 reporter callbacks (#5394)

    * Add testPath to suite
    
    * Add getTestPath to suiteFactory
    
    * Add getTestPath to topSuite
    Vanuan authored and cpojer committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    a87514a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97f0308 View commit details
    Browse the repository at this point in the history
  4. feat(jest-docblock): support multiple of the same @pragma (#5502)

    * feat(jest-docblock): support multiple of the same @pragma
    
    * chore: fix types
    
    * fix(jest-haste-map): update to allow multiple pragmas
    azz authored and cpojer committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    f2ef92d View commit details
    Browse the repository at this point in the history
  5. Adds new video page (#5497)

    * Add videos page
    
    * Remove object-curly-spacing
    
    * Update video list
    
    * Update siteConfig.js
    bogas04 authored and cpojer committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    b8a8b29 View commit details
    Browse the repository at this point in the history
  6. Update users.js (#5504)

    bogas04 authored and cpojer committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    3250edc View commit details
    Browse the repository at this point in the history
  7. fix lint on website (#5506)

    ranyitz authored and cpojer committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    fc14ac8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    786f295 View commit details
    Browse the repository at this point in the history
  9. Release v22.2.2

    Miguel Jimenez Esun committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    c5a2ea0 View commit details
    Browse the repository at this point in the history