diff options
Diffstat (limited to 'js_tests/admin/actions.test.js')
| -rw-r--r-- | js_tests/admin/actions.test.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/js_tests/admin/actions.test.js b/js_tests/admin/actions.test.js index 81364da681..cfe1b6a20a 100644 --- a/js_tests/admin/actions.test.js +++ b/js_tests/admin/actions.test.js @@ -1,21 +1,21 @@ /* global QUnit, Actions */ -'use strict'; +"use strict"; -QUnit.module('admin.actions', { - beforeEach: function() { +QUnit.module("admin.actions", { + beforeEach: function () { // Number of results shown on page - window._actions_icnt = '100'; + window._actions_icnt = "100"; const $ = django.jQuery; - $('#qunit-fixture').append($('#result-table').text()); + $("#qunit-fixture").append($("#result-table").text()); - Actions(document.querySelectorAll('tr input.action-select')); - } + Actions(document.querySelectorAll("tr input.action-select")); + }, }); -QUnit.test('check', function(assert) { +QUnit.test("check", function (assert) { const $ = django.jQuery; - assert.notOk($('.action-select').is(':checked')); - $('#action-toggle').click(); - assert.ok($('.action-select').is(':checked')); + assert.notOk($(".action-select").is(":checked")); + $("#action-toggle").click(); + assert.ok($(".action-select").is(":checked")); }); |
