Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test(client): run remaining pure suites in Node (#4498)

[._.]/ Adam Eivy475e71965940
diff --git a/client/src/components/goals/goalTreeScene.test.js b/client/src/components/goals/goalTreeScene.test.js
index 68110207a0..2c98334cda 100644
--- a/client/src/components/goals/goalTreeScene.test.js
+++ b/client/src/components/goals/goalTreeScene.test.js
@@ -1,3 +1,5 @@
+// @vitest-environment node
+
import { describe, it, expect } from 'vitest';
import {
CAMERA_FIT_PADDING,
diff --git a/client/src/lib/morsePractice.test.js b/client/src/lib/morsePractice.test.js
index 4d72c1651f..463c07272e 100644
--- a/client/src/lib/morsePractice.test.js
+++ b/client/src/lib/morsePractice.test.js
@@ -1,3 +1,5 @@
+// @vitest-environment node
+
import { describe, expect, it } from 'vitest';
import { canAdvanceMorseLevel, selectMorsePrompt } from './morsePractice.js';
diff --git a/client/src/utils/platform.test.js b/client/src/utils/platform.test.js
index 421e0750a4..cafa1bd408 100644
--- a/client/src/utils/platform.test.js
+++ b/client/src/utils/platform.test.js
@@ -1,3 +1,5 @@
+// @vitest-environment node
+
import { describe, it, expect, afterEach, vi } from 'vitest';
// `isMac`/`modKey` are evaluated once at module load, so every case has to