All Versions
141
Latest Version
Avg Release Cycle
29 days
Latest Release
70 days ago
Changelog History
Page 14
Changelog History
Page 14
-
v0.8.0 Changes
- โ Added optional support for jasmine2 through the
testRunnerconfig option. - ๐ Fixed mocking support for Map, WeakMap and Set.
- 0๏ธโฃ
nodewas added to the defaults inmoduleFileExtensions. - โก๏ธ Updated the list of node core modules that are properly being recognized by the module loader.
- โ Added optional support for jasmine2 through the
-
v0.7.1 Changes
- ๐ Correctly map
process.oninto jsdom environments, fixes a bug introduced in jest 0.7.0.
- ๐ Correctly map
-
v0.7.0 Changes
- ๐ Fixed a memory leak with test contexts. Jest now properly cleans up test environments after each test. Added
--logHeapUsageto 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-hasteandmocksvirtual 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
- โ Removed
navigator.onLineandmockSetReadOnlyPropertyfrom the global jsdom environment. Usewindow.navigator.onLine = true;in your test setup andObject.definePropertyinstead.
- ๐ Fixed a memory leak with test contexts. Jest now properly cleans up test environments after each test. Added
-
v0.6.1 Changes
- โก๏ธ Updated jsdom to 7.0.2.
- ๐ Use the current working directory as root when passing a jest config from the command line.
- โก๏ธ Updated the React examples and getting started guide
- Modules now receive a
module.parentfield so unmocked modules don't assume they are run directly any longer.
-
v0.6.0 Changes
- โ jest now reports the number of tests that were run instead of the number of test files.
- โ Added a
--jsonoption to print test results as JSON. - ๐ Changed the preprocessor API. A preprocessor now receives the script, file and config. The cache key function receives the script, file and stringified config to be able to create consistent hashes.
- โ Removed node-worker-pool in favor of node-worker-farm (#540).
- โ
toEqualnow also checks the internal class name of an object. This fixes invalid tests likeexpect([]).toEqual({})which were previously passing. - โ Added the option to provide map modules to stub modules by providing the
moduleNameMapperconfig option. - ๐ Allow to specify a custom
testRunnerin the configuration (#531). - โ Added a
--no-cacheoption to make it easier to debug preprocessor scripts. - ๐ Fix code coverage on windows (#499).
-
v0.5.6 Changes
- ๐ Cache test run performance and run slowest tests first to maximize worker utilization
- โก๏ธ Update to jsdom 6.5.0
-
v0.5.5 Changes
- ๐ Improve failure stack traces.
- ๐ Fix syntax error reporting.
- โ Add
--watchoption (#472).
-
v0.5.2 Changes
- ๐ Fixed a bug with syntax errors in test files (#487).
- ๐ Fixed chmod error for preprocess-cache (#491).
- ๐ Support for the upcoming node 4.0 release (#490, #489).
-
v0.5.1 Changes
- โฌ๏ธ Upgraded node-worker-pool to 3.0.0, use the native
Promiseimplementation. - โ
testURLcan be used to set the location of the jsdom environment. - โก๏ธ Updated all of jest's dependencies, now using jsdom 6.3.
- jest now uses the native
Promiseimplementation. - ๐ Fixed a bug when passed an empty
testPathIgnorePatterns. - ๐ Moved preprocessor cache into the haste cache directory.
- โฌ๏ธ Upgraded node-worker-pool to 3.0.0, use the native
-
v0.5.0 Changes
- โ Added
--noStackTraceoption to disable stack traces. - โฌ๏ธ Jest now only works with iojs v2 and up. If you are still using node we recommend upgrading to iojs or keep using jest 0.4.0.
- โฌ๏ธ Upgraded to jsdom 6.1.0 and removed all the custom jsdom overwrites.
- โ Added