Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
krystalcampioni committed Nov 24, 2018
1 parent 401ab5c commit 3381d52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/datepicker.spec.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { shallow } from 'vue-test-utils';
/* eslint-env jest, node */
import { mount } from 'vue-test-utils';
import { expect } from 'chai';

import Datepicker from '@/components/DatePicker';

describe('Datepicker Calendar', () => {
let wrapper = shallow(Datepicker);
let wrapper = mount(Datepicker);


it('should correctly re-render the calendar', () => {
Expand All @@ -22,7 +23,7 @@ describe('Datepicker Component', () => {
let wrapper;

beforeEach( () => {
wrapper = shallow(Datepicker, {
wrapper = mount(Datepicker, {
attachToDocument: true,
propsData: {
minNights: 3,
Expand Down

0 comments on commit 3381d52

Please sign in to comment.