From 0e6663c07c9b40e21646e32dee16982a9a8cd8d5 Mon Sep 17 00:00:00 2001 From: Mario Juarez Date: Tue, 16 Jan 2018 09:57:58 +0100 Subject: [PATCH] Fix Datetime types tests --- test/specs/Datetime.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/specs/Datetime.spec.js b/test/specs/Datetime.spec.js index 071e3bb..70a9352 100644 --- a/test/specs/Datetime.spec.js +++ b/test/specs/Datetime.spec.js @@ -138,7 +138,7 @@ describe('Datetime.vue', function () { }) describe('types', function () { - it('should be date type by default', function () { + it('should be date type by default', function (done) { const vm = createVM(this, ``, { @@ -149,10 +149,11 @@ describe('Datetime.vue', function () { vm.$nextTick(() => { expect(vm.$('.vdatetime-calendar')).to.exist + done() }) }) - it('should be date type', function () { + it('should be date type', function (done) { const vm = createVM(this, ``, { @@ -163,6 +164,7 @@ describe('Datetime.vue', function () { vm.$nextTick(() => { expect(vm.$('.vdatetime-calendar')).to.exist + done() }) })