@reactables/core 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,8 @@ Reactive state management with RxJS.
|
|
|
27
27
|
1. [Action](#api-action)
|
|
28
28
|
1. [Reducer](#api-reducer)
|
|
29
29
|
1. [Testing Reactables](#testing)
|
|
30
|
+
1. [Flow Testing](#flow-testing)
|
|
31
|
+
1. [Marble Testing](#marble-testing)
|
|
30
32
|
|
|
31
33
|
## Installation <a name="installation"></a>
|
|
32
34
|
|
|
@@ -227,6 +229,11 @@ type Reducer<T> = (state?: T, action?: Action<unknown>) => T;
|
|
|
227
229
|
```
|
|
228
230
|
|
|
229
231
|
## Testing Reactables<a name="testing"></a>
|
|
232
|
+
### Flow Testing<a name="flow-testing"></a>
|
|
233
|
+
|
|
234
|
+
You can test a series of actions to simulate a defined user flow with the `testFlow` method from [`@reactables/testing`](https://github.com/reactables/reactables/blob/main/packages/testing/README.md) package. See [`@reactables/testing`](https://github.com/reactables/reactables/blob/main/packages/testing/README.md) for details.
|
|
235
|
+
|
|
236
|
+
### Marble Testing<a name="marble-testing"></a>
|
|
230
237
|
|
|
231
238
|
We can use RxJS's built in [Marble Testing](https://rxjs.dev/guide/testing/marble-testing) for testing [Reactables](#reactable).
|
|
232
239
|
|
package/package.json
CHANGED