chore: allow generating tests for script (#331)

This commit is contained in:
Pavel Feldman 2025-05-02 17:41:58 -07:00 committed by GitHub
parent 292e75d464
commit 927a1280f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 98 additions and 51 deletions

View file

@ -27,7 +27,7 @@ import pdf from './tools/pdf.js';
import snapshot from './tools/snapshot.js';
import tabs from './tools/tabs.js';
import screen from './tools/screen.js';
import testing from './tools/testing.js';
import type { Tool } from './tools/tool.js';
import type { Config } from '../config.js';
import type { Server } from '@modelcontextprotocol/sdk/server/index.js';
@ -44,6 +44,7 @@ const snapshotTools: Tool<any>[] = [
...pdf,
...snapshot,
...tabs(true),
...testing,
];
const screenshotTools: Tool<any>[] = [
@ -58,6 +59,7 @@ const screenshotTools: Tool<any>[] = [
...pdf,
...screen,
...tabs(false),
...testing,
];
import packageJSON from '../package.json' with { type: 'json' };