diff options
| author | Tom Carrick <tom@carrick.eu> | 2026-04-19 11:54:17 +0300 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-04-19 13:45:56 +0300 |
| commit | fc0a0ebd4fe573299a5f978e77fa3bca8424f661 (patch) | |
| tree | 02df30c20820ddc4a6764969e8dbd9c3a22f437d /js_tests/admin/actions.test.js | |
| parent | 47789e3a2b471995ed753c87ce69ffbaa59c0601 (diff) | |
Formatted JavaScript files.
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")); }); |
