Repository navigation
Commit 0990e5d
committed
test(objectql): type the request-family pins' function fixtures
The bind fixtures handed `bindHooks` functions returning a string, which
its `Record<string, HookHandler>` option does not accept, and the bound
action fixture lost its index signature in the spread; the test layer's
typecheck (tsconfig.test.json) refused the file. Each fixture is now a
distinct `HookHandler` closure (the cells compare identity only), and the
bound action is typed as a record.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1EuHiCqvh8VEz81QD1 parent 3f834fb commit 0990e5d
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | | - | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments