diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cdded6df47d..38b641b30ad7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1428,7 +1428,7 @@ We skipped 24.2.0 because a draft was accidentally published. Please use `24.3.0 - `[jest-haste-map]` Add `getCacheFilePath` to get the path to the cache file for a `HasteMap` instance ([#7217](https://github.com/facebook/jest/pull/7217)) - `[jest-runtime]` Remove `cacheDirectory` from `ignorePattern` for `HasteMap` if not necessary ([#7166](https://github.com/facebook/jest/pull/7166)) - `[jest-validate]` Add syntax to validate multiple permitted types ([#7207](https://github.com/facebook/jest/pull/7207)) -- `[jest-config]` Accept an array as as well as a string for `testRegex` ([#7209]https://github.com/facebook/jest/pull/7209)) +- `[jest-config]` Accept an array as as well as a string for `testRegex` ([#7209](https://github.com/facebook/jest/pull/7209)) - `[expect/jest-matcher-utils]` Improve report when assertion fails, part 4 ([#7241](https://github.com/facebook/jest/pull/7241)) - `[expect/jest-matcher-utils]` Improve report when assertion fails, part 5 ([#7557](https://github.com/facebook/jest/pull/7557)) - `[expect]` Check constructor equality in .toStrictEqual() ([#7005](https://github.com/facebook/jest/pull/7005)) @@ -1686,7 +1686,7 @@ We skipped 24.2.0 because a draft was accidentally published. Please use `24.3.0 ### Chore & Maintenance -- `[website]` Switch domain to https://jestjs.io ([#6549](https://github.com/facebook/jest/pull/6549)) +- `[website]` Switch domain to ([#6549](https://github.com/facebook/jest/pull/6549)) - `[tests]` Improve stability of `yarn test` on Windows ([#6534](https://github.com/facebook/jest/pull/6534)) - `[*]` Transpile object shorthand into Node 4 compatible syntax ([#6582](https://github.com/facebook/jest/pull/6582)) - `[*]` Update all legacy links to jestjs.io ([#6622](https://github.com/facebook/jest/pull/6622)) @@ -2199,7 +2199,7 @@ We skipped 24.2.0 because a draft was accidentally published. Please use `24.3.0 - `[jest-util]` `jest-util` should not depend on `jest-mock` ([#4992](https://github.com/facebook/jest/pull/4992)) - `[*]` [**BREAKING**] Drop support for Node.js version 4 ([#4769](https://github.com/facebook/jest/pull/4769)) - `[docs]` Wrap code comments at 80 characters ([#4781](https://github.com/facebook/jest/pull/4781)) -- `[eslint-plugin-jest]` Removed from the Jest core repo, and moved to https://github.com/jest-community/eslint-plugin-jest ([#4867](https://github.com/facebook/jest/pull/4867)) +- `[eslint-plugin-jest]` Removed from the Jest core repo, and moved to ([#4867](https://github.com/facebook/jest/pull/4867)) - `[babel-jest]` Explicitly bump istanbul to newer versions ([#4616](https://github.com/facebook/jest/pull/4616)) - `[expect]` Upgrade mocha and rollup for browser testing ([#4642](https://github.com/facebook/jest/pull/4642)) - `[docs]` Add info about `coveragePathIgnorePatterns` ([#4602](https://github.com/facebook/jest/pull/4602)) @@ -2597,7 +2597,7 @@ We skipped 24.2.0 because a draft was accidentally published. Please use `24.3.0 ## jest 18.0.0 -See https://jestjs.io/blog/2016/12/15/2016-in-jest +See - The testResultsProcessor function is now required to return the modified results. - Removed `pit` and `mockImpl`. Use `it` or `mockImplementation` instead. @@ -2734,7 +2734,7 @@ See https://jestjs.io/blog/2016/12/15/2016-in-jest ## jest 15.0.0 -- See https://jestjs.io/blog/2016/09/01/jest-15 +- See - Jest by default now also recognizes files ending in `.spec.js` and `.test.js` as test files. - Completely replaced most Jasmine matchers with new Jest matchers. - Rewrote Jest's CLI output for test failures and summaries. @@ -2828,7 +2828,7 @@ See https://jestjs.io/blog/2016/12/15/2016-in-jest - Added `jest-resolve` as a standalone package based on the Facebook module resolution algorithm. - Added `jest-changed-files` as a standalone package to detect changed files in a git or hg repo. - Added `--setupTestFrameworkFile` to cli. -- Added support for coverage thresholds. See https://jestjs.io/docs/configuration#coveragethreshold-object. +- Added support for coverage thresholds. See . - Updated to jsdom 9.0. - Updated and improved stack trace reporting. - Added `module.filename` and removed the invalid `module.__filename` field. @@ -2848,7 +2848,7 @@ See https://jestjs.io/blog/2016/12/15/2016-in-jest ## jest-cli 12.0.0 -- Reimplemented `node-haste` as `jest-haste-map`: https://github.com/facebook/jest/pull/896 +- Reimplemented `node-haste` as `jest-haste-map`: - Fixes for the upcoming release of nodejs 6. - Removed global mock caching which caused negative side-effects on test runs. - Updated Jasmine from 2.3.4 to 2.4.1. @@ -2931,9 +2931,9 @@ See https://jestjs.io/blog/2016/12/15/2016-in-jest - Fixed a memory leak with test contexts. Jest now properly cleans up test environments after each test. Added `--logHeapUsage` to log memory usage after each test. Note: this is option is meant for debugging memory leaks and might significantly slow down your test run. - Removed `mock-modules`, `node-haste` and `mocks` virtual modules. This is a breaking change of undocumented public API. Usage of this API can safely be automatically updated through an automated codemod: -- Example: http://astexplorer.net/#/zrybZ6UvRA -- Codemod: https://github.com/cpojer/js-codemod/blob/main/transforms/jest-update.js -- jscodeshift: https://github.com/facebook/jscodeshift +- Example: +- Codemod: +- jscodeshift: - Removed `navigator.onLine` and `mockSetReadOnlyProperty` from the global jsdom environment. Use `window.navigator.onLine = true;` in your test setup and `Object.defineProperty` instead. ## 0.6.1