refactor(protocol): extract server contracts (#33708)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { describe, expect, test } from "bun:test"
|
||||
import { FileSystem } from "../src/filesystem"
|
||||
|
||||
describe("schema compatibility", () => {
|
||||
test("moved class schemas remain constructible", () => {
|
||||
const input = new FileSystem.FindInput({ query: "src" })
|
||||
expect(input).toBeInstanceOf(FileSystem.FindInput)
|
||||
expect(input.query).toBe("src")
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user