From fab10eb675ff7075c2969e6f04d3e5d2aa4a9b2d Mon Sep 17 00:00:00 2001 From: Michael Brewer Date: Sat, 25 May 2024 11:36:24 -0700 Subject: [PATCH] test(git-config): debug tests --- git-config/main.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-config/main.test.ts b/git-config/main.test.ts index 2f050f6..fe410aa 100644 --- a/git-config/main.test.ts +++ b/git-config/main.test.ts @@ -20,12 +20,12 @@ describe("git-config", async () => { }); const resources = state.resources; + expect(resources).toHaveLength(3); expect(resources).toMatchObject([ { type: "coder_workspace", name: "me" }, { type: "coder_env", name: "git_author_name" }, { type: "coder_env", name: "git_commmiter_name" }, ]); - expect(resources).toHaveLength(3); }); it("can run apply allow_email_change enabled", async () => { @@ -35,6 +35,7 @@ describe("git-config", async () => { }); const resources = state.resources; + expect(resources).toHaveLength(5); expect(resources).toMatchObject([ { type: "coder_parameter", name: "user_email" }, { type: "coder_parameter", name: "username" }, @@ -42,7 +43,6 @@ describe("git-config", async () => { { type: "coder_env", name: "git_author_name" }, { type: "coder_env", name: "git_commmiter_name" }, ]); - expect(resources).toHaveLength(5); }); it("can run apply allow_email_change enabled", async () => {