Split apart skills.ts from plugin.ts

This commit is contained in:
Alex Gleason committed 2026-01-20 22:16:02 -06:00
1 parent 16d4f814e5
commit c8e8ef714e
8 files changed
+718 -561

No files matched your search

+3 -3
View File
@@ -6,8 +6,8 @@ import { NostrMetadata } from '@nostrify/nostrify';
import { AppConfig } from '@/contexts/AppContext';
import OpenAI from 'openai';
// Mock the plugins module
vi.mock('./plugins', () => ({
// Mock the skills module
vi.mock('./skills', () => ({
getAllSkills: vi.fn(),
}));
@@ -16,7 +16,7 @@ vi.mock('path-browserify', () => ({
join: (...args: string[]) => args.join('/').replace(/\/+/g, '/'),
}));
import { getAllSkills } from './plugins';
import { getAllSkills } from './skills';
// Test configuration
const testConfig: AppConfig = {