You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.markdown
+10-3
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,22 @@ Enhanced sequencing of asynchronous code with [ES6 generators](https://developer
4
4
5
5
> A tiny module created to solve one problem in a generalized way.
6
6
7
-
Easily test Promise-based side-effects.
7
+
# No more HTTP mocks 🚫🕸
8
+
9
+
Write concise tests for an asynchronous story. Skip execution of side-effects. Instead, assert their call arguments, and mock their plain return value.
8
10
See: ["Easily test yielded calls, mock their return values"](index-test.js)
9
11
10
-
Inspired by the test-friendly generator architecture of [`redux-saga`](https://github.com/yelouafi/redux-saga).
12
+
# Functional in nature 🌲
13
+
14
+
Inspired by the test-friendly generator architecture of [`redux-saga`](https://github.com/yelouafi/redux-saga) and the pure side-effects of [Elm](http://elm-lang.org).
11
15
12
16
Requires
13
17
--------
14
18
15
-
*[Node.js](https://nodejs.org) with ES6/Generator support (known to work in 6.2)
0 commit comments