Make npm run test:e2e work

This commit is contained in:
Marc Abramowitz 2025-05-27 18:43:29 -07:00
commit 8babc44f0b
2 changed files with 4 additions and 2 deletions

View file

@ -20,7 +20,8 @@
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview --port 6274", "preview": "vite preview --port 6274",
"test": "jest --config jest.config.cjs", "test": "jest --config jest.config.cjs",
"test:watch": "jest --config jest.config.cjs --watch" "test:watch": "jest --config jest.config.cjs --watch",
"test:e2e": "playwright test e2e"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1", "@modelcontextprotocol/sdk": "^1.12.1",

View file

@ -38,7 +38,8 @@
"prettier-check": "prettier --check .", "prettier-check": "prettier --check .",
"lint": "prettier --check . && cd client && npm run lint", "lint": "prettier --check . && cd client && npm run lint",
"prepare": "npm run build", "prepare": "npm run build",
"publish-all": "npm publish --workspaces --access public && npm publish --access public" "publish-all": "npm publish --workspaces --access public && npm publish --access public",
"test:e2e": "npm run test:e2e --workspace=client"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/inspector-cli": "^0.14.0", "@modelcontextprotocol/inspector-cli": "^0.14.0",