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

67 lines
1.5 KiB
JavaScript

import actions from '~/boards/stores/actions';
const expectNotImplemented = action => {
it('is not implemented', () => {
expect(action).toThrow(new Error('Not implemented!'));
});
};
describe('setEndpoints', () => {
expectNotImplemented(actions.setEndpoints);
});
describe('fetchLists', () => {
expectNotImplemented(actions.fetchLists);
});
describe('generateDefaultLists', () => {
expectNotImplemented(actions.generateDefaultLists);
});
describe('createList', () => {
expectNotImplemented(actions.createList);
});
describe('updateList', () => {
expectNotImplemented(actions.updateList);
});
describe('deleteList', () => {
expectNotImplemented(actions.deleteList);
});
describe('fetchIssuesForList', () => {
expectNotImplemented(actions.fetchIssuesForList);
});
describe('moveIssue', () => {
expectNotImplemented(actions.moveIssue);
});
describe('createNewIssue', () => {
expectNotImplemented(actions.createNewIssue);
});
describe('fetchBacklog', () => {
expectNotImplemented(actions.fetchBacklog);
});
describe('bulkUpdateIssues', () => {
expectNotImplemented(actions.bulkUpdateIssues);
});
describe('fetchIssue', () => {
expectNotImplemented(actions.fetchIssue);
});
describe('toggleIssueSubscription', () => {
expectNotImplemented(actions.toggleIssueSubscription);
});
describe('showPage', () => {
expectNotImplemented(actions.showPage);
});
describe('toggleEmptyState', () => {
expectNotImplemented(actions.toggleEmptyState);
});