DEV: apply new coding standards (#10592)

This commit is contained in:
Joffrey JAFFEUX
2020-09-04 13:42:47 +02:00
committed by GitHub
parent 80dfaeb0d2
commit 52672b9eab
1473 changed files with 9386 additions and 9958 deletions
+7 -7
View File
@@ -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",
},
];
});