Add projects without creating workspaces
Keep the legacy open-project request creating a workspace for old clients; new clients now add projects and create workspaces through separate flows.
This commit is contained in:
@@ -354,4 +354,18 @@ describe("checkout PR schemas", () => {
|
||||
projectRemove: true,
|
||||
});
|
||||
});
|
||||
|
||||
test("accepts the project add server_info feature flag", () => {
|
||||
expect(
|
||||
ServerInfoStatusPayloadSchema.parse({
|
||||
status: "server_info",
|
||||
serverId: "srv_test",
|
||||
features: {
|
||||
projectAdd: true,
|
||||
},
|
||||
}).features,
|
||||
).toEqual({
|
||||
projectAdd: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user