We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b908f8 commit f16cb94Copy full SHA for f16cb94
test/jasmine/index.js
@@ -55,4 +55,24 @@ describe('jasmine', () => {
55
.toNotDispatchActions(actions.anotherParentExpectedActions, done);
56
});
57
58
+
59
+ describe('.not.toDispatchActions', () => {
60
+ it('should accept single action', (done) => {
61
+ expect(actions.start()).not.toDispatchActions(actions.anotherStart(), done);
62
+ });
63
64
+ it('should accept array with one action', (done) => {
65
+ expect(actions.start()).not.toDispatchActions([actions.anotherStart()], done);
66
67
68
+ it('should accept array with multiple actions', (done) => {
69
+ expect(actions.asyncActionCreator())
70
+ .not.toDispatchActions(actions.anotherExpectedActions, done);
71
72
73
+ it('should accept array with nested async action creators', (done) => {
74
+ expect(actions.parentAsyncActionCreator())
75
+ .not.toDispatchActions(actions.anotherParentExpectedActions, done);
76
77
78
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments