Commit 1630374
fix(rpc-agent): fix mock to properly capture handler proc in 404 test
The mock was not capturing the handler proc correctly because it was
using **opts instead of explicit keyword arguments. Changed to explicitly
capture defaults:, to:, via:, as:, and route_alias: to match the actual
router.match call signature.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c4002d9 commit 1630374
File tree
1 file changed
+5
-4
lines changed- packages/forest_admin_rpc_agent/spec/lib/forest_admin_rpc_agent/routes
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | | - | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
0 commit comments