Skip to content
Merged
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
Prev Previous commit
fix: #399 fix broken unit tests
  • Loading branch information
enriquezrene committed Jun 24, 2020
commit 4944d40df5026e3c142ed1fc3c7ece82ddc8218c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ describe('TimeEntriesComponent', () => {
});

it('should dispatch an action when entry is going to be saved', () => {
component.entry = { start_date: new Date(), id: '1234', technologies: []};
const newEntry = {
entry: {
project_id: 'p-id',
Expand Down Expand Up @@ -308,6 +309,7 @@ describe('TimeEntriesComponent', () => {
}));

it('when event contains should restart as true, then a restart Entry action should be triggered', () => {
component.entry = { start_date: new Date(), id: '1234', technologies: []};
const entryToSave = {
entry: {
id: '123',
Expand Down