UNPKG

mocha-jsdom

Version:

Simple integration of jsdom into mocha tests

91 lines (59 loc) 2.91 kB
## [v2.0.0] > Jun 5, 2018 See [Upgrading to v2.0.0](https://github.com/rstacruz/mocha-jsdom#upgrading-to-v200) for notes on how to update from an older version. * [#32] - `jsdom` is now a direct dependency of `mocha-jsdom` :tada: [#32]: https://github.com/rstacruz/mocha-jsdom/issues/32 [v2.0.0]: https://github.com/rstacruz/mocha-jsdom/compare/v1.2.0...v2.0.0 ## [v1.2.0] > Jun 5, 2018 * [#29] - Update Jsdom compatibility ([@RobLoach]) * [#31] - Update all npm dependencies [#29]: https://github.com/rstacruz/mocha-jsdom/issues/29 [#31]: https://github.com/rstacruz/mocha-jsdom/issues/31 [@RobLoach]: https://github.com/robloach [v1.2.0]: https://github.com/rstacruz/mocha-jsdom/compare/v1.1.0...v1.2.0 ## [v1.1.0] > Feb 22, 2016 * [#18] - Initialize global.window when it is undefined; fixes compatibility with [airbnb/enzyme][]. ([@moonboots]) [v1.1.0]: https://github.com/rstacruz/mocha-jsdom/compare/v1.0.0...v1.1.0 ## [v1.0.0] - Jul 4, 2015 * Add testling/browserify support. * Add more examples. [v1.0.0]: https://github.com/rstacruz/mocha-jsdom/compare/v0.5.0...v1.0.0 ## [v0.5.0] - Jun 26, 2015 * Add `rerequire()` to help with using mocha-jsdom with `mocha --watch`. * Internal: change coding standard to feross/standard. ## [v0.4.0] - May 25, 2015 * [#5] - Add `useEach` option. ([@jasco], [#6]) * [#7] - Add a `skipWindowCheck` option. ## [v0.3.0] - Apr 3, 2015 * [#3] - Bump `jsdom` dependency version. This fixes the "needs a context" error ([@nacyot], [#3]) [#3]: https://github.com/rstacruz/mocha-jsdom/issues/3 [#4]: https://github.com/rstacruz/mocha-jsdom/issues/4 [@nacyot]: https://github.com/nacyot ## [v0.2.1] - Feb 19, 2014 * Add `LICENSE` file * Update documentation * No functionality changes ## [v0.2.0] - November 5, 2014 * Skip warnings. Add `JSDOM_VERBOSE=1` to your env to reenable them. ## [v0.1.2] - September 27, 2014 * Throw a useful error when invoked twice. ## [v0.1.1] - September 27, 2014 * Re-release with updated Readme. [airbnb/enzyme]: https://github.com/airbnb/enzyme ## v0.1.0 - September 25, 2014 * Initial version. [#5]: https://github.com/rstacruz/mocha-jsdom/issues/5 [#6]: https://github.com/rstacruz/mocha-jsdom/issues/6 [#7]: https://github.com/rstacruz/mocha-jsdom/issues/7 [@jasco]: https://github.com/jasco [v0.5.0]: https://github.com/rstacruz/mocha-jsdom/compare/v0.4.0...v0.5.0 [v0.4.0]: https://github.com/rstacruz/mocha-jsdom/compare/v0.3.0...v0.4.0 [v0.3.0]: https://github.com/rstacruz/mocha-jsdom/compare/v0.2.1...v0.3.0 [v0.2.1]: https://github.com/rstacruz/mocha-jsdom/compare/v0.2.0...v0.2.1 [v0.2.0]: https://github.com/rstacruz/mocha-jsdom/compare/v0.1.2...v0.2.0 [v0.1.2]: https://github.com/rstacruz/mocha-jsdom/compare/v0.1.1...v0.1.2 [v0.1.1]: https://github.com/rstacruz/mocha-jsdom/compare/v0.1.0...v0.1.1 [#18]: https://github.com/rstacruz/mocha-jsdom/issues/18 [@moonboots]: https://github.com/moonboots