···28802880 method: "DELETE",
28812881 });
28822882 expect(res.status).toBe(409);
28832883+ const body = await res.json();
28842884+ expect(body.error).toMatch(/default/i);
28832885 });
2884288628852887 it("deletes successfully when theme exists in policy availableThemes but not as a default", async () => {