refactor(core): convert opencode tests to nodes (#34453)
This commit is contained in:
parent
b10d617c80
commit
bc5ce5eab1
36 changed files with 112 additions and 106 deletions
|
|
@ -1,6 +1,7 @@
|
|||
export * as Observability from "./observability"
|
||||
|
||||
import { NodeFileSystem } from "@effect/platform-node"
|
||||
import { LayerNode } from "./effect/layer-node"
|
||||
import { Effect, Layer, Logger, References } from "effect"
|
||||
import { FetchHttpClient } from "effect/unstable/http"
|
||||
import { OtlpSerialization } from "effect/unstable/observability"
|
||||
|
|
@ -19,3 +20,5 @@ export const layer = Layer.unwrap(
|
|||
return Layer.merge(logs, yield* Effect.promise(Otlp.tracingLayer))
|
||||
}),
|
||||
)
|
||||
|
||||
export const node = LayerNode.make({ name: "observability", layer, deps: [] })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue