Skip to content
Source
Sign inSign up
pingdotgg/t3code

Migrate tests to vite-plus test APIs #2964

Mergedjuliusmarmingemerged 2 commits intomain fromrefs/pull/2964/headmerged by juliusmarminge View on GitHub

Showing 50 changed files with 3 additions and 4 deletions (loading 46).

x
0 of 50 viewed, 50 left
1 addition and 1 deletionapps/desktop/src/ipc/methods/cloudAuth.test.tsModified
View file
@@ -2,7 +2,7 @@
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
-import { afterEach } from "vitest";
+import { afterEach } from "vite-plus/test";
​
import { fetchCloudAuth, validateClerkFrontendApiUrl } from "./cloudAuth.ts";
​
1 addition and 2 deletionsapps/desktop/package.jsonModified
View file
@@ -27,8 +27,7 @@
"@types/node": "catalog:",
"cross-env": "^10.1.0",
"electron-builder": "26.8.1",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
},
"productName": "T3 Code (Alpha)"
1 addition and 1 deletionapps/mobile/src/features/agent-awareness/liveActivityPreferences.test.tsModified
View file
@@ -1,4 +1,4 @@
-import { beforeEach, vi } from "vitest";
+import { beforeEach, vi } from "vite-plus/test";
import { describe, expect, it } from "@effect/vitest";