Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
Fix Datetime types tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomka committed Jan 16, 2018
1 parent f0289e9 commit 0e6663c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/specs/Datetime.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
`<Datetime></Datetime>`,
{
Expand All @@ -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,
`<Datetime type="date"></Datetime>`,
{
Expand All @@ -163,6 +164,7 @@ describe('Datetime.vue', function () {

vm.$nextTick(() => {
expect(vm.$('.vdatetime-calendar')).to.exist
done()
})
})

Expand Down

0 comments on commit 0e6663c

Please sign in to comment.