debian-mirror-gitlab/spec/frontend/boards/stores/state_spec.js
2019-09-04 21:01:54 +05:30

11 lines
273 B
JavaScript

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));
});
});