mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 00:09:53 +00:00
test(core): simplify ripgrep layer wiring
This commit is contained in:
parent
22cc758b1a
commit
9015604122
1 changed files with 2 additions and 1 deletions
|
|
@ -2,12 +2,13 @@ import { describe, expect } from "bun:test"
|
|||
import fs from "fs/promises"
|
||||
import path from "path"
|
||||
import { Effect } from "effect"
|
||||
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
|
||||
import { Ripgrep } from "@opencode-ai/core/ripgrep"
|
||||
import { RelativePath } from "@opencode-ai/core/schema"
|
||||
import { tmpdir } from "./fixture/tmpdir"
|
||||
import { testEffect } from "./lib/effect"
|
||||
|
||||
const it = testEffect(Ripgrep.defaultLayer)
|
||||
const it = testEffect(LayerNode.buildLayer(Ripgrep.node))
|
||||
|
||||
describe("Ripgrep", () => {
|
||||
it.live("keeps ignored files out of catch-all find results", () =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue