From aa52680858fe952710c9c40a3a1b14ea5b07e049 Mon Sep 17 00:00:00 2001 From: schultztimothy Date: Mon, 8 Jul 2024 16:51:04 -0600 Subject: [PATCH] fix(app): remove only --- app/__tests__/components/GenericPlatform.test.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/__tests__/components/GenericPlatform.test.tsx b/app/__tests__/components/GenericPlatform.test.tsx index ee494f819..34b0888d3 100644 --- a/app/__tests__/components/GenericPlatform.test.tsx +++ b/app/__tests__/components/GenericPlatform.test.tsx @@ -7,12 +7,7 @@ const { Ens } = platforms; import { CeramicContextState } from "../../context/ceramicContext"; import { mockAddress } from "../../__test-fixtures__/onboardHookValues"; -import { - UN_SUCCESSFUL_ENS_RESULT, - SUCCESFUL_ENS_RESULTS, - credential, - SUCCESFUL_ENS_RESULT, -} from "../../__test-fixtures__/verifiableCredentialResults"; +import { UN_SUCCESSFUL_ENS_RESULT, SUCCESFUL_ENS_RESULTS } from "../../__test-fixtures__/verifiableCredentialResults"; import { fetchVerifiableCredential } from "@gitcoin/passport-identity"; import { makeTestCeramicContext, renderWithContext } from "../../__test-fixtures__/contextTestHelpers"; import { JsonRpcSigner } from "@ethersproject/providers"; @@ -203,7 +198,7 @@ describe("when user has previously verified with EnsProvider", () => { expect(fetchVerifiableCredential).toHaveBeenCalled(); }); }); - it.only("should remove expired stamps if the no longer qualify", async () => { + it("should remove expired stamps if the no longer qualify", async () => { (fetchVerifiableCredential as jest.Mock).mockResolvedValue({ credentials: [UN_SUCCESSFUL_ENS_RESULT], });