refactor(core): convert opencode tests to nodes (#34453)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { describe, test, expect, beforeEach, afterEach } from "bun:test"
|
||||
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
|
||||
import { Effect } from "effect"
|
||||
import * as fs from "fs/promises"
|
||||
import * as path from "path"
|
||||
@@ -7,7 +8,7 @@ import { Patch } from "../../src/patch"
|
||||
import { FSUtil } from "@opencode-ai/core/fs-util"
|
||||
import { testEffect } from "../lib/effect"
|
||||
|
||||
const it = testEffect(FSUtil.defaultLayer)
|
||||
const it = testEffect(LayerNode.compile(FSUtil.node))
|
||||
|
||||
describe("Patch namespace", () => {
|
||||
let tempDir: string
|
||||
|
||||
Reference in New Issue
Block a user