Commit 54c938ec authored by Justin Ho's avatar Justin Ho

Remove if wrapper check

parent 6f31efaf
...@@ -17,10 +17,8 @@ describe('IssueDueDate', () => { ...@@ -17,10 +17,8 @@ describe('IssueDueDate', () => {
}; };
afterEach(() => { afterEach(() => {
if (wrapper) { wrapper.destroy();
wrapper.destroy(); wrapper = null;
wrapper = null;
}
}); });
const findDueDateCollapsed = () => wrapper.findByTestId('due-date-collapsed'); const findDueDateCollapsed = () => wrapper.findByTestId('due-date-collapsed');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment