Skip to content

The agent that grows with you

test(desktop): run venv-blocker-scan tests under vitest

Teknium20e0b26c4ed7
diff --git a/apps/desktop/electron/venv-blocker-scan.test.ts b/apps/desktop/electron/venv-blocker-scan.test.ts
index 164c291917b..208a3ce4198 100644
--- a/apps/desktop/electron/venv-blocker-scan.test.ts
+++ b/apps/desktop/electron/venv-blocker-scan.test.ts
@@ -3,15 +3,15 @@
/**
* Tests for apps/desktop/electron/venv-blocker-scan.ts
*
- * Run with: npx tsx --test electron/venv-blocker-scan.test.ts
- * (from apps/desktop)
+ * Run with: npx vitest run electron/venv-blocker-scan.test.ts
+ * (from apps/desktop; wired into npm test:desktop:platforms)
*/
import assert from 'node:assert/strict'
import fs from 'node:fs'
import os from 'node:os'
import path from 'node:path'
-import { describe, it } from 'node:test'
+import { describe, it } from 'vitest'
import {
formatBlockerMessage,