mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 10:40:30 +08:00
co-authored by
mountdisk <mountdisk@icloud.com.>
parent
5fb6b3e43c
commit
900506bf4b
+1
-1
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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" }),
|
||||
|
||||
Reference in New Issue
Block a user