@@ -20,9 +20,10 @@ describe("git-config", async () => {
2020 } ) ;
2121
2222 const resources = state . resources ;
23- expect ( resources ) . toHaveLength ( 5 ) ;
23+ expect ( resources ) . toHaveLength ( 6 ) ;
2424 expect ( resources ) . toMatchObject ( [
2525 { type : "coder_workspace" , name : "me" } ,
26+ { type : "coder_workspace_owner" , name : "me" } ,
2627 { type : "coder_env" , name : "git_author_email" } ,
2728 { type : "coder_env" , name : "git_author_name" } ,
2829 { type : "coder_env" , name : "git_commmiter_email" } ,
@@ -37,11 +38,12 @@ describe("git-config", async () => {
3738 } ) ;
3839
3940 const resources = state . resources ;
40- expect ( resources ) . toHaveLength ( 7 ) ;
41+ expect ( resources ) . toHaveLength ( 8 ) ;
4142 expect ( resources ) . toMatchObject ( [
4243 { type : "coder_parameter" , name : "user_email" } ,
4344 { type : "coder_parameter" , name : "username" } ,
4445 { type : "coder_workspace" , name : "me" } ,
46+ { type : "coder_workspace_owner" , name : "me" } ,
4547 { type : "coder_env" , name : "git_author_email" } ,
4648 { type : "coder_env" , name : "git_author_name" } ,
4749 { type : "coder_env" , name : "git_commmiter_email" } ,
@@ -61,9 +63,10 @@ describe("git-config", async () => {
6163 ) ;
6264
6365 const resources = state . resources ;
64- expect ( resources ) . toHaveLength ( 5 ) ;
66+ expect ( resources ) . toHaveLength ( 6 ) ;
6567 expect ( resources ) . toMatchObject ( [
6668 { type : "coder_workspace" , name : "me" } ,
69+ { type : "coder_workspace_owner" , name : "me" } ,
6770 { type : "coder_env" , name : "git_author_email" } ,
6871 { type : "coder_env" , name : "git_author_name" } ,
6972 { type : "coder_env" , name : "git_commmiter_email" } ,
@@ -80,11 +83,12 @@ describe("git-config", async () => {
8083 coder_parameter_order : order . toString ( ) ,
8184 } ) ;
8285 const resources = state . resources ;
83- expect ( resources ) . toHaveLength ( 7 ) ;
86+ expect ( resources ) . toHaveLength ( 8 ) ;
8487 expect ( resources ) . toMatchObject ( [
8588 { type : "coder_parameter" , name : "user_email" } ,
8689 { type : "coder_parameter" , name : "username" } ,
8790 { type : "coder_workspace" , name : "me" } ,
91+ { type : "coder_workspace_owner" , name : "me" } ,
8892 { type : "coder_env" , name : "git_author_email" } ,
8993 { type : "coder_env" , name : "git_author_name" } ,
9094 { type : "coder_env" , name : "git_commmiter_email" } ,
@@ -106,10 +110,11 @@ describe("git-config", async () => {
106110 coder_parameter_order : order . toString ( ) ,
107111 } ) ;
108112 const resources = state . resources ;
109- expect ( resources ) . toHaveLength ( 6 ) ;
113+ expect ( resources ) . toHaveLength ( 7 ) ;
110114 expect ( resources ) . toMatchObject ( [
111115 { type : "coder_parameter" , name : "username" } ,
112116 { type : "coder_workspace" , name : "me" } ,
117+ { type : "coder_workspace_owner" , name : "me" } ,
113118 { type : "coder_env" , name : "git_author_email" } ,
114119 { type : "coder_env" , name : "git_author_name" } ,
115120 { type : "coder_env" , name : "git_commmiter_email" } ,
0 commit comments