Skip to content

Commit

Permalink
revert: cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Mar 8, 2024
1 parent f8201f6 commit 1802a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/devpool.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { RestEndpointMethodTypes } from "@octokit/rest";
import { OAuthToken } from "../../src/home/getters/get-github-access-token";
import { generateSupabaseStorageKey } from "../../build/esbuild-build";

describe("DevPool", () => {
let issue1: RestEndpointMethodTypes["issues"]["get"]["response"]["data"];
Expand Down Expand Up @@ -140,7 +139,8 @@ describe("DevPool", () => {
statusCode: 200,
});
// Simulate login token
window.localStorage.setItem(`sb-${generateSupabaseStorageKey()}-auth-token`, JSON.stringify(loginToken));
// cSpell: ignore wfzpewmlyiozupulbuur
window.localStorage.setItem("sb-wfzpewmlyiozupulbuur-auth-token", JSON.stringify(loginToken));
}).as("githubLogin");
cy.visit("/");
cy.get("#github-login-button").click();
Expand Down

0 comments on commit 1802a95

Please sign in to comment.