Skip to content

Commit 08f83c8

Browse files
committed
Add combineCycles in the tests to make sure it works
1 parent 2f83693 commit 08f83c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/createCycleMiddleware.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-undef */
22
/* eslint-disable no-console */
3-
import { createCycleMiddleware } from '../'
3+
import { createCycleMiddleware, combineCycles } from '../'
44
import { createStore, applyMiddleware } from 'redux'
55
import xs from 'xstream'
66
import {run} from '@cycle/run'
@@ -46,7 +46,7 @@ describe('Redux cycle middleware xstream', () => {
4646
{ type: 'PING' },
4747
{ type: 'PONG' }
4848
]
49-
const store = initStore(main, {})
49+
const store = initStore(combineCycles(main), {})
5050

5151
store.dispatch({ type: 'PING' })
5252

@@ -167,7 +167,7 @@ describe('Redux cycle middleware RxJS', () => {
167167
}
168168
}
169169

170-
const store = initStore(main, {}, null, rxjsRun)
170+
const store = initStore(combineCycles(main), {}, null, rxjsRun)
171171

172172
store.dispatch({ type: 'PING' })
173173

0 commit comments

Comments
 (0)