refactor(core): simplify duplicate test layers (#45444)

This commit is contained in:
Kit Langton
2026-08-27 18:47:20 -04:00
committed by GitHub
parent 98e3fa9d0d
commit 7d007670a0
3 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import { test, type TestOptions } from "bun:test"
import { Cause, Effect, Exit, Layer } from "effect"
import type * as Scope from "effect/Scope"
import { Cause, Effect, Exit, Layer, Scope } from "effect"
import * as TestClock from "effect/testing/TestClock"
import * as TestConsole from "effect/testing/TestConsole"
@@ -69,7 +69,6 @@ const testLayer = AppNodeBuilder.build(
ReadToolFileSystem.node,
readToolNode,
Tool.node,
Tool.node,
PluginHooks.node,
SessionInstructions.node,
Global.node,
@@ -449,8 +449,6 @@ const it = testEffect(
Agent.node,
Catalog.node,
Tool.node,
Tool.node,
PluginHooks.node,
PluginHooks.node,
echoNode,
SessionRunnerModel.node,