Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: #265 remove modal, fix: 266 adding missing tests
  • Loading branch information
enriquezrene committed May 19, 2020
commit e2e9ab4fc4341f1b98c409bf7026573faa938208
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
import * as actions from './project.actions';

describe('Actions for Projects', () => {

it('LoadProjectsSuccess type is ProjectActionTypes.LOAD_PROJECTS_SUCCESS', () => {
const action = new actions.LoadProjectsSuccess([]);
expect(action.type).toEqual(actions.ProjectActionTypes.LOAD_PROJECTS_SUCCESS);
});

it('LoadProjectsFail type is ProjectActionTypes.LOAD_PROJECTS_FAIL', () => {
const action = new actions.LoadProjectsFail('error');
expect(action.type).toEqual(actions.ProjectActionTypes.LOAD_PROJECTS_FAIL);
});

it('LoadCustomerProjectsSuccess type is ProjectActionTypes.LOAD_CUSTOMER_PROJECTS_SUCCESS', () => {
const LoadCustomerProjectsSuccess = new actions.LoadCustomerProjectsSuccess([]);
expect(LoadCustomerProjectsSuccess.type).toEqual(actions.ProjectActionTypes.LOAD_CUSTOMER_PROJECTS_SUCCESS);
Expand Down
17 changes: 0 additions & 17 deletions src/app/modules/shared/components/modal/modal.component.html

This file was deleted.

11 changes: 0 additions & 11 deletions src/app/modules/shared/components/modal/modal.component.scss

This file was deleted.

25 changes: 0 additions & 25 deletions src/app/modules/shared/components/modal/modal.component.spec.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/app/modules/shared/components/modal/modal.component.ts

This file was deleted.