mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-01 07:20:20 +00:00
dva
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import expect from 'expect';
|
||||
import example from '../../models/example';
|
||||
|
||||
describe('example', () => {
|
||||
|
||||
describe('reducer', () => {
|
||||
it('it should save', () => {
|
||||
expect(example.reducers['example/save']({}, { payload: { a: 1 }})).toEqual({ a: 1 });
|
||||
});
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user