Skip to content

Commit bf16a48

Browse files
committed
Add javascript assertions tests
1 parent 72fbfb0 commit bf16a48

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

test/assertions/index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import expect from 'expect';
2+
import assertions from '../../src/assertions';
3+
4+
describe('assertions', () => {
5+
it('should export toDispatchActions', () => {
6+
expect(assertions.toDispatchActions).toBeA('function');
7+
});
8+
9+
it('should export toDispatchActionsWithState', () => {
10+
expect(assertions.toDispatchActionsWithState).toBeA('function');
11+
});
12+
13+
it('should export toNotDispatchActions', () => {
14+
expect(assertions.toNotDispatchActions).toBeA('function');
15+
});
16+
17+
it('should export toNotDispatchActionsWithState', () => {
18+
expect(assertions.toNotDispatchActionsWithState).toBeA('function');
19+
});
20+
});

0 commit comments

Comments
 (0)