DEV: apply new coding standards (#10592)
This commit is contained in:
@@ -2,12 +2,12 @@ import { acceptance } from "helpers/qunit-helpers";
|
||||
import pretender from "helpers/create-pretender";
|
||||
acceptance("Unknown");
|
||||
|
||||
QUnit.test("Permalink Unknown URL", async assert => {
|
||||
QUnit.test("Permalink Unknown URL", async (assert) => {
|
||||
await visit("/url-that-doesn't-exist");
|
||||
assert.ok(exists(".page-not-found"), "The not found content is present");
|
||||
});
|
||||
|
||||
QUnit.test("Permalink URL to a Topic", async assert => {
|
||||
QUnit.test("Permalink URL to a Topic", async (assert) => {
|
||||
pretender.get("/permalink-check.json", () => {
|
||||
return [
|
||||
200,
|
||||
@@ -15,8 +15,8 @@ QUnit.test("Permalink URL to a Topic", async assert => {
|
||||
{
|
||||
found: true,
|
||||
internal: true,
|
||||
target_url: "/t/internationalization-localization/280"
|
||||
}
|
||||
target_url: "/t/internationalization-localization/280",
|
||||
},
|
||||
];
|
||||
});
|
||||
|
||||
@@ -24,7 +24,7 @@ QUnit.test("Permalink URL to a Topic", async assert => {
|
||||
assert.ok(exists(".topic-post"));
|
||||
});
|
||||
|
||||
QUnit.test("Permalink URL to a static page", async assert => {
|
||||
QUnit.test("Permalink URL to a static page", async (assert) => {
|
||||
pretender.get("/permalink-check.json", () => {
|
||||
return [
|
||||
200,
|
||||
@@ -32,8 +32,8 @@ QUnit.test("Permalink URL to a static page", async assert => {
|
||||
{
|
||||
found: true,
|
||||
internal: true,
|
||||
target_url: "/faq"
|
||||
}
|
||||
target_url: "/faq",
|
||||
},
|
||||
];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user