mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-27 22:10:11 -04:00
refactor(core): simplify duplicate test layers (#45444)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user