Commit cea1925
committed
sea-auth-u2m: refresh test fakes for the merged-kernel binding surface
Rebased onto the updated sea-operation (carrying the #379 review fixes up
the stack). Test-fake refresh:
- execution.test.ts: keep the sessionId getter; executeStatement(sql) only
(the session-level options migration already on this branch dropped the
per-statement options).
- _helpers/fakeBinding.ts: cast Connection/Statement through the binding's
member types instead of bare Function.
- OAuth e2e tests (auth-m2m / auth-u2m): cast the connect literal as
ConnectionOptions & InternalConnectionOptions for the useSEA opt-in.
Known follow-ups (not test fakes; tracked separately): SeaBackend passes
OAuth options (authMode/oauthClientId) that the merged-kernel binding's
ConnectionOptions does not yet expose — the kernel's OAuth napi surface
must land in main first; and the SeaOperationBackend neutral-type
conformance (status/getResultMetadata) is the sea-results follow-up.
Co-authored-by: Isaac1 parent bed0d03 commit cea1925
3 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | | - | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
106 | | - | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
0 commit comments