Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/lib/cn.test.ts

Steven Enamakel3b3dcda389d3
diff --git a/app/src/lib/cn.test.ts b/app/src/lib/cn.test.ts
index 0914006097..ddaa8e8aaf 100644
--- a/app/src/lib/cn.test.ts
+++ b/app/src/lib/cn.test.ts
@@ -9,7 +9,9 @@ import { cn } from './cn';
const themeSource = readFileSync(resolve(process.cwd(), 'src/index.css'), 'utf8');
const themeKeys = (prefix: string): string[] =>
- Array.from(themeSource.matchAll(new RegExp(`--${prefix}-([\\w-]+):`, 'g')), match => match[1]);
+ Array.from(themeSource.matchAll(new RegExp(`--${prefix}-([\\w-]+):`, 'g')), match => match[1]).filter(
+ key => !key.includes('--')
+ );
describe('cn', () => {
it('flattens conditionals like clsx', () => {