Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit ae0e956

Browse files
committed
DEV: lint fix: order imports
1 parent 40a9e37 commit ae0e956

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

test/javascripts/acceptance/param-input-test.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { click, currentURL, fillIn, visit } from "@ember/test-helpers";
22
import { test } from "qunit";
3+
import Category from "discourse/models/category";
34
import { acceptance } from "discourse/tests/helpers/qunit-helpers";
45
import selectKit from "discourse/tests/helpers/select-kit-helper";
5-
import Category from "discourse/models/category";
66

77
async function runQuery() {
88
await click("form.query-run button");
@@ -413,12 +413,20 @@ acceptance("Data Explorer Plugin | Param Input", function (needs) {
413413

414414
await runQuery();
415415

416-
assert.strictEqual(getSearchParam("category"), category.id.toString(), "it updates the URL with the selected category id");
416+
assert.strictEqual(
417+
getSearchParam("category"),
418+
category.id.toString(),
419+
"it updates the URL with the selected category id"
420+
);
417421

418422
await catChooser.expand();
419423
await catChooser.selectRowByIndex(0);
420424
await runQuery();
421425

422-
assert.strictEqual(getSearchParam("category"), undefined, "it removes the category id from the URL when selecting the first row (null value)");
426+
assert.strictEqual(
427+
getSearchParam("category"),
428+
undefined,
429+
"it removes the category id from the URL when selecting the first row (null value)"
430+
);
423431
});
424432
});

0 commit comments

Comments
 (0)