Commit edd07c8
committed
test(sea): update fakes for statementId / sessionId on the napi surface
The cascade commit that surfaced `statementId` on `SeaNativeStatement` and
`sessionId` on `SeaNativeConnection` (matching the kernel napi binding's
new getters) didn't update the blocking test fakes, breaking compilation.
Add the readonly fields to FakeNativeStatement / FakeNativeConnection
(execution.test.ts) and FakeNativeStatement / FakeMetadataConnection
(metadata.test.ts). The async fakes already carried statementId.
Co-authored-by: Isaac
Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>1 parent 9dcb28c commit edd07c8
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments