Welcome to mirror list, hosted at ThFree Co, Russian Federation.

state_spec.js « stores « boards « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 35490a63567cbdc4e46f5794441fe631d39e7189 (plain)
1
2
3
4
5
6
7
8
9
10
11
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));
  });
});