Skip to content

Commit

Permalink
refactor: removed some failure paths
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhadwen committed Jul 31, 2019
1 parent f87d019 commit d2740cb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
12 changes: 0 additions & 12 deletions src/__tests__/AddTask.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,4 @@ describe('<AddTask />', () => {
fireEvent.click(queryByTestId('add-task'));
});
});

describe('Failure', () => {
it('does not render <AddTask />', () => {});
it('does not render the <AddTask /> quick overlay', () => {});
it('does not render the <AddTask /> main showable when clicked', () => {});
it('does not render the <AddTask /> project overlay when clicked', () => {});
it('does not render the <AddTask /> task date overlay when clicked', () => {});
it('does not hide the <AddTask /> main when cancel is clicked', () => {});
it('does not render <AddTask /> & adds a task to the inbox & clears state', () => {});
it('does not render <AddTask /> & adds a task to tomorrow & clears component state', () => {});
it('does not render <AddTask /> & adds a task to next 7 days & clears state', () => {});
});
});
4 changes: 0 additions & 4 deletions src/__tests__/Checkbox.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,4 @@ describe('<Checkbox />', () => {
fireEvent.click(queryByTestId('checkbox-action'));
});
});

describe('Failure', () => {
it('does not render the project overlay with any projects', () => {});
});
});
2 changes: 0 additions & 2 deletions src/__tests__/Sidebar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,4 @@ describe('<Sidebar />', () => {
expect(queryByTestId('inbox').classList.contains('active')).toBeFalsy();
});
});

describe('Failure', () => {});
});

0 comments on commit d2740cb

Please sign in to comment.