Skip to content

Commit

Permalink
remove ignore type
Browse files Browse the repository at this point in the history
  • Loading branch information
pinocchio-life-like committed Dec 29, 2024
1 parent df79408 commit 117e3f4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions server/src/tests/routes/password.test.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 0 additions & 2 deletions server/src/tests/routes/user.spec.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
4 changes: 1 addition & 3 deletions server/src/tests/routes/weather.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// @ts-nocheck

import { describe, it, expect, beforeAll } from 'vitest';
import { setupTest } from '../utils/testHelpers';
import type { trpcCaller } from '../utils/testHelpers';
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 117e3f4

Please sign in to comment.