From f7de34295f977896de0d119e00d39a304a989ee3 Mon Sep 17 00:00:00 2001 From: Stephen Kirby Date: Tue, 10 Oct 2023 15:53:54 +0000 Subject: [PATCH] test for fly-region region filter --- fly-region/main.test.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fly-region/main.test.ts b/fly-region/main.test.ts index 86f6bfc..642446e 100644 --- a/fly-region/main.test.ts +++ b/fly-region/main.test.ts @@ -22,4 +22,12 @@ describe("fly-region", async () => { }); expect(state.outputs.value.value).toBe("atl"); }); + + it("region filter", async () => { + const state = await runTerraformApply(import.meta.dir, { + default: "atl", + regions: '["arn", "ams", "bos"]' + }); + expect(state.outputs.value.value).toBe(""); + }); });