feat(FN-3163): test suggestion route error contract in roadmap routes

Adds an assertion for the suggestion route error contract in the roadmap routes test file, completing the test coverage for that endpoint.

Fusion-Task-Id: FN-3163
This commit is contained in:
Fusion
2026-05-08 18:32:23 -07:00
committed by gsxdsm
parent 05329fb059
commit 6ab07c27d0
6 changed files with 63 additions and 4 deletions

View File

@@ -456,7 +456,8 @@ const plugin: FusionPlugin = {
### Route Mounting
Routes are mounted at `/api/plugins/{pluginId}/{path}`:
Routes are mounted at `/api/plugins/{pluginId}/{path}`.
Route handlers receive the same loader-built `PluginContext` used by hooks/tools, including real `taskStore`, plugin `settings`, `logger`, `emitEvent`, and engine-injected `createAiSession` (when available):
- Plugin ID: `fusion-plugin-notification`
- Route path: `/status`