mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
test(desktop): run venv-blocker-scan tests under vitest
CI's electron vitest project collects electron/**/*.test.ts; the node:test-based suite reported 'No test suite found'. Import describe/it from vitest like sibling electron tests.
This commit is contained in:
parent
1dd1c449bb
commit
20e0b26c4e
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue