refactor(core): simplify integration test fixtures (#33292)

This commit is contained in:
Dax
2026-06-22 00:15:34 -04:00
committed by GitHub
parent 3c9803ff68
commit ab2f5b5724
76 changed files with 2864 additions and 1599 deletions
+1 -5
View File
@@ -24,11 +24,7 @@ const locationLayer = Layer.succeed(
)
const plugins = PluginV2.layer.pipe(Layer.provide(events))
const policy = Policy.layer.pipe(Layer.provide(locationLayer))
const connections = Credential.layer.pipe(
Layer.fresh,
Layer.provide(Database.layerFromPath(":memory:").pipe(Layer.fresh)),
Layer.provide(events),
)
const connections = Credential.defaultLayer.pipe(Layer.fresh)
const integrations = Integration.locationLayer.pipe(Layer.provide(events), Layer.provide(connections))
const catalog = Catalog.layer.pipe(
Layer.provide(Layer.mergeAll(events, locationLayer, plugins, policy, connections, integrations)),