Skip to content

Commit

Permalink
Eslint upgrades.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Lizaga committed Nov 22, 2017
1 parent 821bdaa commit 2846c78
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions dev/tests/js/jasmine/tests/lib/mage/accordion.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define([
title2 = $('<div data-role="collapsible"></div>').appendTo(accordion),
content2 = $('<div data-role="content"></div>').appendTo(accordion);

accordion.appendTo("body");
accordion.appendTo('body');

accordion.accordion();

Expand All @@ -49,15 +49,14 @@ define([
expect(accordion.is(':mage-accordion')).toBeFalsy();
});
it('check multi-collapsible element accordion', function () {
var accordion = $('<div/>');

$('<div data-role="collapsible"></div>').appendTo(accordion);

var content1 = $('<div data-role="content"></div>').appendTo(accordion),
var accordion = $('<div/>'),
content1 = $('<div data-role="content"></div>').appendTo(accordion),
title2 = $('<div data-role="collapsible"></div>').appendTo(accordion),
content2 = $('<div data-role="content"></div>').appendTo(accordion);

accordion.appendTo("body");
$('<div data-role="collapsible"></div>').appendTo(accordion);

accordion.appendTo('body');

accordion.accordion({
multipleCollapsible: true
Expand Down

0 comments on commit 2846c78

Please sign in to comment.