Commit 7b3b275
Lasim
Add unit tests for MCP versions list and update routes
- Implement comprehensive unit tests for the MCP versions list route, covering route registration, request handling, error responses, and response format.
- Add unit tests for the MCP versions update route, ensuring proper registration, request handling, error responses, and response format.
- Validate schema configuration and performance for both routes, including concurrent request handling and edge cases.
- Ensure consistent error responses and proper HTTP method usage in tests.1 parent a1f9c9f commit 7b3b275
File tree
51 files changed
+11657
-5
lines changed- services/backend
- drizzle/migrations_sqlite
- meta
- src
- db
- global-settings
- routes
- mcp
- categories
- github
- servers
- teams
- versions
- services
- tests/unit
- global-settings
- routes/mcp
- categories
- github
- servers
- teams
- versions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+11657
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Lines changed: 66 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments