diff --git a/packages/components/src/date-time/test/date.js b/packages/components/src/date-time/test/date.js index a12999dbbc7844..cd1b1e1e12e2b2 100644 --- a/packages/components/src/date-time/test/date.js +++ b/packages/components/src/date-time/test/date.js @@ -29,7 +29,6 @@ describe( 'DatePicker', () => { const wrapper = shallow( ); const date = wrapper.children().props().date; expect( moment.isMoment( date ) ).toBe( true ); - expect( date.isSame( moment(), 'second' ) ).toBe( true ); } ); describe( 'getMomentDate', () => { @@ -55,7 +54,6 @@ describe( 'DatePicker', () => { const momentDate = wrapper.instance().getMomentDate(); expect( moment.isMoment( momentDate ) ).toBe( true ); - expect( momentDate.isSame( moment(), 'second' ) ).toBe( true ); } ); } );