diff --git a/server/src/tests/routes/password.test.ts b/server/src/tests/routes/password.test.ts index a6ec8a264..ad320debd 100644 --- a/server/src/tests/routes/password.test.ts +++ b/server/src/tests/routes/password.test.ts @@ -1,5 +1,3 @@ -// @ts-nocheck - import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { userSignUp } from '@packrat/validations'; import { generateMock } from '@anatine/zod-mock'; diff --git a/server/src/tests/routes/user.spec.ts b/server/src/tests/routes/user.spec.ts index 55937d4d3..aa7d659d9 100644 --- a/server/src/tests/routes/user.spec.ts +++ b/server/src/tests/routes/user.spec.ts @@ -1,5 +1,3 @@ -// @ts-nocheck - import { env } from 'cloudflare:test'; import { describe, it, expect, beforeAll, vi } from 'vitest'; import { setupTest, type trpcCaller } from '../utils/testHelpers'; diff --git a/server/src/tests/routes/weather.spec.ts b/server/src/tests/routes/weather.spec.ts index 6175770ea..5db56041f 100644 --- a/server/src/tests/routes/weather.spec.ts +++ b/server/src/tests/routes/weather.spec.ts @@ -1,5 +1,3 @@ -// @ts-nocheck - import { describe, it, expect, beforeAll } from 'vitest'; import { setupTest } from '../utils/testHelpers'; import type { trpcCaller } from '../utils/testHelpers'; @@ -29,7 +27,7 @@ describe('Get weather information', () => { lat: 20.5937, lon: 78.9629, }; - const weather = await caller.getWeatherWeek(coordinates); + const weather = await caller.getWeather(coordinates); expect(weather).toBeDefined(); expect(weather?.coord?.lon).toEqual(coordinates?.lon); expect(weather?.coord?.lat).toEqual(coordinates?.lat);