From 4a54593f65a3804ec3e4d83222f167a17dbad12e Mon Sep 17 00:00:00 2001 From: rndquu Date: Thu, 14 Mar 2024 13:09:19 +0300 Subject: [PATCH] fix(cspell): add inline ignore comments --- .cspell.json | 1 - cypress/e2e/main.cy.ts | 1 + static/scripts/onboarding/github-login-button.ts | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.cspell.json b/.cspell.json index 90d0018..d220b84 100644 --- a/.cspell.json +++ b/.cspell.json @@ -33,7 +33,6 @@ "UBIQUIBOT", "URLSAFE", "WXDAI", - "wfzpewmlyiozupulbuur", "XDAI", "xmark", "SUPABASE" diff --git a/cypress/e2e/main.cy.ts b/cypress/e2e/main.cy.ts index b96741b..3fc9ca2 100644 --- a/cypress/e2e/main.cy.ts +++ b/cypress/e2e/main.cy.ts @@ -82,6 +82,7 @@ describe("Homepage tests", () => { statusCode: 200, }); // Simulate login token + // cspell:ignore wfzpewmlyiozupulbuur window.localStorage.setItem("sb-wfzpewmlyiozupulbuur-auth-token", JSON.stringify(loginToken)); }).as("githubLogin"); cy.get("#github-login-button").click(); diff --git a/static/scripts/onboarding/github-login-button.ts b/static/scripts/onboarding/github-login-button.ts index 9909c2a..c23efb0 100644 --- a/static/scripts/onboarding/github-login-button.ts +++ b/static/scripts/onboarding/github-login-button.ts @@ -53,6 +53,7 @@ function getNewSessionToken() { } function getSessionToken() { + // cspell:ignore wfzpewmlyiozupulbuur const cachedSessionToken = getLocalStore("sb-wfzpewmlyiozupulbuur-auth-token"); if (cachedSessionToken) { return cachedSessionToken.provider_token;