From 641e3c4fa5c4973f0db1cf841eb040c624d82c3e Mon Sep 17 00:00:00 2001 From: James Long Date: Sat, 20 Jun 2026 18:18:20 -0400 Subject: [PATCH] test(core): simplify git layer wiring --- packages/core/test/git.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/test/git.test.ts b/packages/core/test/git.test.ts index e09e3e1a5d4..f82d2328709 100644 --- a/packages/core/test/git.test.ts +++ b/packages/core/test/git.test.ts @@ -4,12 +4,13 @@ import fs from "fs/promises" import path from "path" import { Effect } from "effect" import { Git } from "@opencode-ai/core/git" +import { LayerNode } from "@opencode-ai/core/effect/layer-node" import { AbsolutePath } from "@opencode-ai/core/schema" import { branch, commit, gitRemote } from "./fixture/git" import { tmpdir } from "./fixture/tmpdir" import { testEffect } from "./lib/effect" -const it = testEffect(Git.defaultLayer) +const it = testEffect(LayerNode.buildLayer(Git.node)) describe("Git", () => { it.live("clones a remote and reads checkout metadata", () =>