File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,13 @@ func TestManifest(t *testing.T) {
130
130
DisplayName : "bar" ,
131
131
},
132
132
},
133
+ Devcontainers : []codersdk.WorkspaceAgentDevcontainer {
134
+ {
135
+ ID : uuid .New (),
136
+ WorkspaceFolder : "/home/coder/coder" ,
137
+ ConfigPath : "/home/coder/coder/.devcontainer/devcontainer.json" ,
138
+ },
139
+ },
133
140
}
134
141
p , err := agentsdk .ProtoFromManifest (manifest )
135
142
require .NoError (t , err )
@@ -152,6 +159,7 @@ func TestManifest(t *testing.T) {
152
159
require .Equal (t , manifest .DisableDirectConnections , back .DisableDirectConnections )
153
160
require .Equal (t , manifest .Metadata , back .Metadata )
154
161
require .Equal (t , manifest .Scripts , back .Scripts )
162
+ require .Equal (t , manifest .Devcontainers , back .Devcontainers )
155
163
}
156
164
157
165
func TestSubsystems (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments