Skip to content

Commit f7de342

Browse files
committed
test for fly-region region filter
1 parent f171434 commit f7de342

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fly-region/main.test.ts

+8
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,12 @@ describe("fly-region", async () => {
2222
});
2323
expect(state.outputs.value.value).toBe("atl");
2424
});
25+
26+
it("region filter", async () => {
27+
const state = await runTerraformApply(import.meta.dir, {
28+
default: "atl",
29+
regions: '["arn", "ams", "bos"]'
30+
});
31+
expect(state.outputs.value.value).toBe("");
32+
});
2533
});

0 commit comments

Comments
 (0)