Skip to content

Commit

Permalink
test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Dec 26, 2018
1 parent e481bf3 commit fd83417
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions tests/automated/legacy/dateClick.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ describe('dateClick', function() {

[ false, true ].forEach(function(selectable) {
describe('when selectable is ' + selectable, function() {
pushOptions({selectable: selectable})
pushOptions({
selectable
})

describe('when in month view', function() {
pushOptions({defaultView: 'month'})

Expand All @@ -38,7 +41,9 @@ describe('dateClick', function() {
})

describe('when in agendaWeek view', function() {
pushOptions({defaultView: 'agendaWeek'})
pushOptions({
defaultView: 'agendaWeek'
})

it('fires correctly when clicking on an all-day slot', function(done) {
var options = {}
Expand Down
4 changes: 2 additions & 2 deletions tests/automated/legacy/eventMouseEnter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ describe('eventMouseEnter', function() {
pushOptions({
defaultDate: '2014-08-01',
scrollTime: '00:00:00'
});
})

[ 'month', 'agendaWeek' ].forEach(function(viewName) {
;[ 'month', 'agendaWeek' ].forEach(function(viewName) {
describe('for ' + viewName + ' view', function() {

pushOptions({
Expand Down

0 comments on commit fd83417

Please sign in to comment.