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

@ -1,6 +0,0 @@
const config = JSON.stringify({ name: 'playwright', command: 'npx', args: ["@playwright/mcp@latest"] });
const urlForWebsites = `vscode:mcp/install?${encodeURIComponent(config)}`;
// Github markdown does not allow linking to `vscode:` directly, so you can use our redirect:
const urlForGithub = `https://insiders.vscode.dev/redirect?url=${encodeURIComponent(urlForWebsites)}`;
console.log(urlForGithub);