debian-mirror-gitlab/spec/frontend/boards/stores/state_spec.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
273 B
JavaScript
Raw Normal View History

2019-09-04 21:01:54 +05:30
import createState from '~/boards/stores/state';
describe('createState', () => {
it('is a function', () => {
expect(createState).toEqual(expect.any(Function));
});
it('returns an object', () => {
expect(createState()).toEqual(expect.any(Object));
});
});