diff options
Diffstat (limited to 'src/app/App.test.ts')
| -rw-r--r-- | src/app/App.test.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/App.test.ts b/src/app/App.test.ts index 1534d1c..d22f84b 100644 --- a/src/app/App.test.ts +++ b/src/app/App.test.ts @@ -62,6 +62,14 @@ function fakeFetchImpl(): typeof fetch { status: 200, }); } + if (url.endsWith("/cwd")) { + return new Response(JSON.stringify({ conversationId: "c", cwd: null }), { status: 200 }); + } + if (url.endsWith("/lsp")) { + return new Response(JSON.stringify({ conversationId: "c", cwd: null, servers: [] }), { + status: 200, + }); + } return new Response(JSON.stringify({ chunks: [], latestSeq: 0 }), { status: 200 }); }; } |
