Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

chore: keep the dev launch config out of this PR, and silence a lint warning

Etienne Lescot58ba61dfdfb4
diff --git a/.claude/launch.json b/.claude/launch.json
index 0cbf82932..16c0d4afe 100644
--- a/.claude/launch.json
+++ b/.claude/launch.json
@@ -12,7 +12,8 @@
"name": "desktop-dev",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev", "--", "--port", "5201", "--strictPort"],
- "port": 5201
+ "port": 5201,
+ "env": { "NO_ELECTRON": "1" }
},
{
"name": "v4preview",
diff --git a/src/lib/ai-edition/store/transcriptionStore.test.ts b/src/lib/ai-edition/store/transcriptionStore.test.ts
index 47786837a..d8208ddef 100644
--- a/src/lib/ai-edition/store/transcriptionStore.test.ts
+++ b/src/lib/ai-edition/store/transcriptionStore.test.ts
@@ -78,7 +78,9 @@ function transcriptFor(assetId: string): AxcutTranscript {
/** A promise plus a 0-arg release, so a mocked run can be held open mid-flight. */
function deferred(): { promise: Promise<void>; release: () => void } {
- let release: () => void = () => {};
+ let release: () => void = () => {
+ // Replaced synchronously by the executor below, before this can be called.
+ };
const promise = new Promise<void>((resolve) => {
release = () => resolve();
});