Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

test: the library speed budget is 400 ms on Windows CI, whose runners are about half as fast

christianmat4462ab50507b
diff --git a/app/test/libraryRetrieve.test.ts b/app/test/libraryRetrieve.test.ts
index b544b173..0d179f82 100644
--- a/app/test/libraryRetrieve.test.ts
+++ b/app/test/libraryRetrieve.test.ts
@@ -128,7 +128,8 @@ describe('speed', () => {
// the best of three: other test files share the CPU
let best = Infinity, got = await ask()
for (let i = 0; i < 3; i++) { const t0 = performance.now(); got = await ask(); best = Math.min(best, performance.now() - t0) }
- expect(best).toBeLessThan(200)
+ // GitHub's Windows runners are about twice as slow as a Mac or Linux runner at this, and noisier
+ expect(best).toBeLessThan(process.platform === 'win32' ? 400 : 200)
expect(got.items).toHaveLength(12)
}, 60_000)
})