Assert hello protocol version in runtime integration test
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
0a83664bbd
commit
be2f37526f
1 file changed
+1
@@ -144,6 +144,7 @@ describe("runtimeApiServer", () => {
|
||||
if (hello.type !== "hello") {
|
||||
throw new Error("Expected hello message.");
|
||||
}
|
||||
expect(hello.version).toBe(1);
|
||||
expect(hello.launchCwd).toBe(process.cwd());
|
||||
|
||||
const response = await sendRequest(
|
||||
|
||||
Reference in new issue
Block a user