Skip to content

Releases: timbuckley/redux-saga-test-engine

2.1.0

25 Nov 00:40
4be7e1b
Compare
Choose a tag to compare

Major contributions from @sachmata this release! Thanks @sachmata!

  • Improves throwError support #32
  • Add stub support #30, #34
  • Adding prettier formatting #33
  • Various spelling fixes #35

2.0.3

14 Jun 15:10
Compare
Choose a tag to compare

Don't publish .babelrc to NPM for React Native compatibility. (#29)

2.0.2

10 Jun 12:55
Compare
Choose a tag to compare

Fix Babel environment setting (#27)

2.0.1

06 Jun 17:50
Compare
Choose a tag to compare

Jumped the gun on previous 2.0.0 npm-publish (since retracted), had to publish as 2.0.1 instead

2.0.0

06 Jun 17:41
Compare
Choose a tag to compare

Lots of stuff happening!

While I am loathe to have breaking changes, we needed to accommodate flexibility in the effects being tracked in the top-level API. Future breaking changes should still be rare, as the exported object can be added to without breaking anything.

Breaking Changes

Top level API has changed. See README for usage details

If you have existing PUT-collecting tests but want to upgrade, you should be able to replace your imports as follows

// old
const sagaTestEngine = require('redux-saga-test-engine')

// new
const { collectPuts: sagaTestEngine } = require('redux-saga-test-engine')

Improvements

  • As mentioned, we made a re-write of the top-level API. #16
  • We now ship an ES5 compatible version of the library. #20
  • Exposes a throwError helper function to trigger errors within the tested sagas. #21
  • Update README documentation for new API #24 & #25

Excellent work again by @hmillison and @CoryDanielson!

1.2.3

25 Apr 18:20
Compare
Choose a tag to compare
  • Improve logging on errors. #14
  • Expand test coverage. #11

Thanks to contributors @CoryDanielson and @hmillison!

1.2.2

06 Feb 16:16
Compare
Choose a tag to compare

Allows Maps as second argument to main sagaTestEngine function.

See PR #7 for details.

1.2.1

03 Feb 22:54
Compare
Choose a tag to compare

Bugfix 馃槄

sagaTestEngine would safely handle arrays of puts, but would fail to collect them and return.

This is fixed and tested in PR #6

1.2.0

03 Feb 20:23
Compare
Choose a tag to compare

sagaTestEngine now correctly handles the case where the tested saga function to yields an array of put Effects. See #5 for details

1.1.0

28 Jan 16:35
Compare
Choose a tag to compare

Published on NPM