Added some helper function to deal with dates

This commit is contained in:
Alejandro Celaya
2021-12-22 20:08:28 +01:00
parent 482314b9f4
commit 7adb40489d
9 changed files with 114 additions and 34 deletions

View File

@@ -8,7 +8,7 @@ describe('<DateIntervalDropdownItems />', () => {
const onChange = jest.fn();
beforeEach(() => {
wrapper = shallow(<DateIntervalDropdownItems allText="All" active="last180days" onChange={onChange} />);
wrapper = shallow(<DateIntervalDropdownItems allText="All" active="last180Days" onChange={onChange} />);
});
afterEach(jest.clearAllMocks);