test: tighten codex protocol source assertions

This commit is contained in:
Peter Steinberger
2026-05-09 09:46:23 +01:00
parent 73437fdb65
commit 31b73556d1

View File

@@ -44,7 +44,7 @@ describe("codex app-server protocol source resolver", () => {
createProtocolSchema(codexRepo);
delete process.env.OPENCLAW_CODEX_REPO;
await expect(resolveCodexAppServerProtocolSource(worktreeRoot)).resolves.toMatchObject({
await expect(resolveCodexAppServerProtocolSource(worktreeRoot)).resolves.toEqual({
codexRepo,
sourceRoot: path.join(codexRepo, "codex-rs/app-server-protocol/schema"),
});