From e44eaafd15b5e0709cb29b2d2aee33a93bf3a8fc Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Thu, 18 Jan 2024 13:41:12 -0600 Subject: [PATCH] remove in sync test --- frontend/lib/api/__test__/user/group.test.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/frontend/lib/api/__test__/user/group.test.ts b/frontend/lib/api/__test__/user/group.test.ts index 40eafce..4ad82b2 100644 --- a/frontend/lib/api/__test__/user/group.test.ts +++ b/frontend/lib/api/__test__/user/group.test.ts @@ -2,7 +2,6 @@ import { faker } from "@faker-js/faker"; import { describe, test, expect } from "vitest"; import { factories } from "../factories"; import { sharedUserClient } from "../test-utils"; -import { currencies } from "~~/lib/data/currency"; describe("first time user workflow (register, login, join group)", () => { test("user should be able to update group", async () => { @@ -29,20 +28,6 @@ describe("first time user workflow (register, login, join group)", () => { expect(group.currency).toBe("USD"); }); - test("currencies should be in sync with backend", async () => { - const { client } = await factories.client.singleUse(); - - for (const currency of currencies) { - const { response, data: group } = await client.group.update({ - name: faker.person.firstName(), - currency: currency.code, - }); - - expect(response.status).toBe(200); - expect(group.currency).toBe(currency.code); - } - }); - test("user should be able to join create join token and have user signup", async () => { const api = factories.client.public();