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

Commit

Permalink
fix disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
undercloud authored Nov 14, 2018
1 parent 9a330e0 commit dbefc2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/specs/DatetimeMonthsPicker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('DatetimeMonthPicker.vue', function () {
months.forEach(month => {
const monthName = month.textContent.trim()

if (!(['July', 'August', 'September', 'October', 'November', 'December'].indexOf(monthName) === 1)) {
if (!(['July', 'August', 'September', 'October', 'November', 'December'].indexOf(monthName) === -1)) {
expect(month).to.have.not.class('vdatetime-month-picker__item--disabled')
} else {
expect(month).to.have.class('vdatetime-month-picker__item--disabled')
Expand Down

0 comments on commit dbefc2f

Please sign in to comment.