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

Conversation

nickpape
Copy link
Owner

@nickpape nickpape commented Feb 9, 2018

Summary

Test plan

kpman and others added 30 commits December 20, 2017 07:22
createProcesObject -> createProcessObject
* Fix Node.js 4 support

* Use Babel to fix spread operator for Node.js 4

* Fix apply removal
* New line before quitting watch mode #5150

* New line before quitting watch mode (eslint fix)
* 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
* Update condition to avoid infinite recursion in Windows platform

* Update CHANGELOG.md

* Remove `skipOnWindows` since tests run fine on windows
* feat: add support for generator functions in specs

Fixes #2666

* docs: update changelog with PR link
* 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...
* docs: update changelog

* docs: update changelog
* chore(package): update dev dependencies

* chore: downgrade eslint
* 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
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.
* 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!
Testing the publishing bot after giving it write access to the repo
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.
* 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
* 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
mjesun and others added 29 commits February 5, 2018 14:54
Update Webpack URL
* 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
* 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
* 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
* 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
* Let "--all" override "--onlyChanged"

* Add test
* Revert "Remove retainLines from babel-jest (#5439)"

This reverts commit 6635d93.

* changelog

* moar changelog
* standardize file names in root

* Update CHANGELOG
* Add testPath to suite

* Add getTestPath to suiteFactory

* Add getTestPath to topSuite
* feat(jest-docblock): support multiple of the same @pragma

* chore: fix types

* fix(jest-haste-map): update to allow multiple pragmas
* Add videos page

* Remove object-curly-spacing

* Update video list

* Update siteConfig.js
@nickpape nickpape merged commit 88776f9 into nickpape:nickpape-msft-patch-1 Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.