@@ -20,9 +20,10 @@ describe("git-config", async () => {
20
20
} ) ;
21
21
22
22
const resources = state . resources ;
23
- expect ( resources ) . toHaveLength ( 5 ) ;
23
+ expect ( resources ) . toHaveLength ( 6 ) ;
24
24
expect ( resources ) . toMatchObject ( [
25
25
{ type : "coder_workspace" , name : "me" } ,
26
+ { type : "coder_workspace_owner" , name : "me" } ,
26
27
{ type : "coder_env" , name : "git_author_email" } ,
27
28
{ type : "coder_env" , name : "git_author_name" } ,
28
29
{ type : "coder_env" , name : "git_commmiter_email" } ,
@@ -37,11 +38,12 @@ describe("git-config", async () => {
37
38
} ) ;
38
39
39
40
const resources = state . resources ;
40
- expect ( resources ) . toHaveLength ( 7 ) ;
41
+ expect ( resources ) . toHaveLength ( 8 ) ;
41
42
expect ( resources ) . toMatchObject ( [
42
43
{ type : "coder_parameter" , name : "user_email" } ,
43
44
{ type : "coder_parameter" , name : "username" } ,
44
45
{ type : "coder_workspace" , name : "me" } ,
46
+ { type : "coder_workspace_owner" , name : "me" } ,
45
47
{ type : "coder_env" , name : "git_author_email" } ,
46
48
{ type : "coder_env" , name : "git_author_name" } ,
47
49
{ type : "coder_env" , name : "git_commmiter_email" } ,
@@ -61,9 +63,10 @@ describe("git-config", async () => {
61
63
) ;
62
64
63
65
const resources = state . resources ;
64
- expect ( resources ) . toHaveLength ( 5 ) ;
66
+ expect ( resources ) . toHaveLength ( 6 ) ;
65
67
expect ( resources ) . toMatchObject ( [
66
68
{ type : "coder_workspace" , name : "me" } ,
69
+ { type : "coder_workspace_owner" , name : "me" } ,
67
70
{ type : "coder_env" , name : "git_author_email" } ,
68
71
{ type : "coder_env" , name : "git_author_name" } ,
69
72
{ type : "coder_env" , name : "git_commmiter_email" } ,
@@ -80,11 +83,12 @@ describe("git-config", async () => {
80
83
coder_parameter_order : order . toString ( ) ,
81
84
} ) ;
82
85
const resources = state . resources ;
83
- expect ( resources ) . toHaveLength ( 7 ) ;
86
+ expect ( resources ) . toHaveLength ( 8 ) ;
84
87
expect ( resources ) . toMatchObject ( [
85
88
{ type : "coder_parameter" , name : "user_email" } ,
86
89
{ type : "coder_parameter" , name : "username" } ,
87
90
{ type : "coder_workspace" , name : "me" } ,
91
+ { type : "coder_workspace_owner" , name : "me" } ,
88
92
{ type : "coder_env" , name : "git_author_email" } ,
89
93
{ type : "coder_env" , name : "git_author_name" } ,
90
94
{ type : "coder_env" , name : "git_commmiter_email" } ,
@@ -106,10 +110,11 @@ describe("git-config", async () => {
106
110
coder_parameter_order : order . toString ( ) ,
107
111
} ) ;
108
112
const resources = state . resources ;
109
- expect ( resources ) . toHaveLength ( 6 ) ;
113
+ expect ( resources ) . toHaveLength ( 7 ) ;
110
114
expect ( resources ) . toMatchObject ( [
111
115
{ type : "coder_parameter" , name : "username" } ,
112
116
{ type : "coder_workspace" , name : "me" } ,
117
+ { type : "coder_workspace_owner" , name : "me" } ,
113
118
{ type : "coder_env" , name : "git_author_email" } ,
114
119
{ type : "coder_env" , name : "git_author_name" } ,
115
120
{ type : "coder_env" , name : "git_commmiter_email" } ,
0 commit comments