| 1 | import { Stack } from "@/Stack"; |
| 2 | import { Stage } from "@/Stage"; |
| 3 | import * as Layer from "effect/Layer"; |
| 4 | |
| 5 | /** |
| 6 | * Placeholder `Stack` + `Stage` for suites that build a provider layer and |
| 7 | * drive its lifecycle operations directly instead of deploying a stack. |
| 8 | */ |
| 9 | export const testStackContext = Layer.mergeAll( |
| 10 | Layer.succeed(Stage, "test"), |
| 11 | Layer.succeed(Stack, { |
| 12 | name: "test", |
| 13 | stage: "test", |
| 14 | resources: {}, |
| 15 | bindings: {}, |
| 16 | actions: {}, |
| 17 | }), |
| 18 | ); |