😪 js-standard

This commit is contained in:
zuiidea
2017-01-03 16:15:38 +08:00
parent 49d700a5c8
commit 87af30c4b6
50 changed files with 783 additions and 858 deletions
-10
View File
@@ -1,11 +1 @@
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 });
});
})
});