From 7c6792c135fbcd5f4140c1c6416a2ed14d74e610 Mon Sep 17 00:00:00 2001 From: Simon Egersand <s.egersand@gmail.com> Date: Sun, 11 Feb 2018 09:56:37 +0100 Subject: [PATCH] Fix failing test by using shallow instead of mount --- test/tests.spec.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests.spec.js b/test/tests.spec.js index c156400..0d0f021 100644 --- a/test/tests.spec.js +++ b/test/tests.spec.js @@ -374,8 +374,8 @@ expect(utils.isTimeView(component)).toBeTruthy(); }); - xit('className -> type string', () => { - const component = utils.createDatetime({ className: 'custom-class' }); + it('className -> type string', () => { + const component = utils.createDatetimeShallow({ className: 'custom-class' }); expect(component.find('.custom-class').length).toEqual(1); }); -- Gitblit v1.9.3