Commit 3ac7ae8
Add E2E equivalents of removed createSession/resumeSession-without-permission tests
The two client.test.ts unit tests deleted in the previous commit only
asserted that createSession/resumeSession surface 'Client not connected'
when called pre-start. The intent behind them was to confirm that
omitting onPermissionRequest doesn't itself throw. With autoStart gone,
the only meaningful version of that test is an E2E one that actually
spawns a runtime. Port the equivalent C# coverage
(ClientE2ETests.Should_Allow_*Session_Called_Without_PermissionHandler)
to client.e2e.test.ts so we have parity.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6536140 commit 3ac7ae8
1 file changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
16 | 54 | | |
17 | 55 | | |
18 | 56 | | |
| |||
0 commit comments