refactor(protocol): extract server contracts (#33708)
This commit is contained in:
parent
f9dac262ff
commit
56a37c3640
77 changed files with 1070 additions and 878 deletions
10
packages/schema/test/compatibility.test.ts
Normal file
10
packages/schema/test/compatibility.test.ts
Normal file
|
|
@ -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")
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue