Fix some typos

Co-authored-by: mountdisk <mountdisk@icloud.com.>
This commit is contained in:
Sebastian Martinez
2024-09-03 15:37:13 +02:00
co-authored by mountdisk <mountdisk@icloud.com.>
parent 5fb6b3e43c
commit 900506bf4b
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ export default [
"warn",
{ default: ["field", "signature", "constructor", "method"] },
],
// Allow explict type annotations for additional clarity.
// Allow explicit type annotations for additional clarity.
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-invalid-void-type": ["warn"],
// Disallow Unused Variables.
+1 -1
View File
@@ -108,7 +108,7 @@
node: baseUrl,
patch: patch.id,
} as const;
// For cleaner URLs, we omit the the revision part when we link to the
// For cleaner URLs, we omit the revision part when we link to the
// latest revision.
const latestRevisionId = patch.revisions[patch.revisions.length - 1].id;
const revision = latestRevisionId === revisionId ? undefined : revisionId;
+1 -1
View File
@@ -21,7 +21,7 @@ test("copy to clipboard", async ({ page, browserName, context }) => {
if (browserName === "chromium") {
await context.grantPermissions(["clipboard-read", "clipboard-write"]);
} else if (browserName === "webkit") {
// We aren't able to programatically change the permissions in webkit.
// We aren't able to programmatically change the permissions in webkit.
test.skip();
}
+1 -1
View File
@@ -14,7 +14,7 @@ test("default theme", async ({ page }) => {
}
});
test("theme persistance", async ({ page }) => {
test("theme persistence", async ({ page }) => {
await page.goto(sourceBrowsingFixture);
await expect(
page.getByRole("banner").getByRole("link", { name: "source-browsing" }),