The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: restore JS checks for session mock and matrix lint
ethernet01e6e89ca2aa
diff --git a/apps/desktop/src/app/settings/about-settings.test.tsx b/apps/desktop/src/app/settings/about-settings.test.tsxindex 4afed38d342..b442616ec11 100644--- a/apps/desktop/src/app/settings/about-settings.test.tsx+++ b/apps/desktop/src/app/settings/about-settings.test.tsx@@ -3,6 +3,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'import type { DesktopUpdateStatus, DesktopVersionInfo, HermesConnection } from '@/global'import { en } from '@/i18n/en'+import type * as SessionStore from '@/store/session'import { $connection } from '@/store/session'import {$backendUpdateStatus,@@ -17,10 +18,11 @@ import {import { AboutSettings } from './about-settings'-vi.mock('@/store/session', async (): Promise<Record<string, unknown>> => {+vi.mock('@/store/session', async (importOriginal): Promise<Record<string, unknown>> => {+ const actual = await importOriginal<typeof SessionStore>()const { atom } = await import('nanostores')- return { $connection: atom<HermesConnection | null>(null) }+ return { ...actual, $connection: atom<HermesConnection | null>(null) }})vi.mock('@/store/updates', async (): Promise<Record<string, unknown>> => {diff --git a/tests-js/e2e-matrix-route.test.ts b/tests-js/e2e-matrix-route.test.tsindex d50561e9f8d..35a8969ba53 100644--- a/tests-js/e2e-matrix-route.test.ts+++ b/tests-js/e2e-matrix-route.test.ts@@ -1,6 +1,7 @@import { execFileSync } from 'node:child_process'import path from 'node:path'import { fileURLToPath } from 'node:url'+import { expect, test } from 'vitest'const script: string = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../scripts/sandbox/generate-e2e-matrix.mjs')