refactor(core): move more tests to nodes (#34248)
This commit is contained in:
parent
6248542c49
commit
a31698f99b
10 changed files with 56 additions and 52 deletions
|
|
@ -6,9 +6,10 @@ import { Effect, Exit, Stream } from "effect"
|
|||
import type * as PlatformError from "effect/PlatformError"
|
||||
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process"
|
||||
import { CrossSpawnSpawner } from "@opencode-ai/core/cross-spawn-spawner"
|
||||
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
|
||||
import { testEffect } from "../lib/effect"
|
||||
|
||||
const live = CrossSpawnSpawner.defaultLayer
|
||||
const live = LayerNode.compile(CrossSpawnSpawner.node)
|
||||
const fx = testEffect(live)
|
||||
|
||||
function js(code: string, opts?: ChildProcess.CommandOptions) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue