Removing outdated test

This commit is contained in:
James Barnsley
2019-10-09 13:08:04 +13:00
parent 5d49a4a88d
commit 93d42fb36f

View File

@ -19,13 +19,6 @@ describe('<Dater />', () => {
const dom_2 = shallow(<Dater data={100000} />);
expect(dom_2.type()).toEqual(null);
// Invalid data
var data = {
invalid_object: "value"
};
const dom_3 = shallow(<Dater type="total-time" data={data} />);
expect(dom_3.type()).toEqual(null);
// Missing data
const dom_4 = shallow(<Dater type="ago" />);
expect(dom_4.type()).toEqual(null);