test(git-config): check terraform version

pull/252/head
Michael Brewer 1 year ago
parent 26a87282cf
commit d806b4eb75
No known key found for this signature in database
GPG Key ID: D7A137BA1254AFC7

@ -21,6 +21,7 @@ jobs:
with: with:
bun-version: latest bun-version: latest
- name: Setup - name: Setup
run: terraform --version
run: bun install run: bun install
- run: bun test - run: bun test
pretty: pretty:

@ -13,15 +13,11 @@ describe("git-config", async () => {
}); });
it("can run apply allow_username_change and allow_email_change disabled", async () => { it("can run apply allow_username_change and allow_email_change disabled", async () => {
const state = await runTerraformApply( const state = await runTerraformApply(import.meta.dir, {
import.meta.dir,
{
agent_id: "foo", agent_id: "foo",
allow_username_change: false, allow_username_change: "false",
allow_email_change: false, allow_email_change: "false",
}, });
{},
);
const resources = state.resources; const resources = state.resources;
expect(resources).toHaveLength(3); expect(resources).toHaveLength(3);

Loading…
Cancel
Save