MCPcopy Create free account
hub / github.com/Effect-TS/effect / testLayer

Function testLayer

packages/sql/sqlite-node/test/Persistence.test.ts:22–23  ·  view source on GitHub ↗
(layer: Layer.Layer<Persistence.BackingPersistence, never, SqlClient.SqlClient>)

Source from the content-addressed store, hash-verified

20)
21
22const testLayer = (layer: Layer.Layer<Persistence.BackingPersistence, never, SqlClient.SqlClient>) =>
23 layer.pipe(Layer.provideMerge(ClientLayer))
24
25const suite = (name: string, layer: Layer.Layer<Persistence.BackingPersistence, never, SqlClient.SqlClient>) =>
26 it.layer(testLayer(layer))(`Persistence (${name})`, (it) => {

Callers 1

suiteFunction · 0.70

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected