Add the Monolith and Cobalt Stripe templates
Standalone layouts for Canva templates 3 and 8, with the user's logo sized to the placeholder box, a CapRule decor primitive, optional TableRows rule/heading options, and a separate 1..45-row sweep test file.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { expect, it } from "vitest";
|
||||
import { describeSweep, STANDALONE_SWEEP } from "./harness.sweep";
|
||||
import { TEMPLATES } from "./registry";
|
||||
|
||||
// Monolith and Cobalt Stripe: the same sweep as the other templates, in a second file so the two run side by side.
|
||||
describeSweep((id) => STANDALONE_SWEEP.includes(id));
|
||||
|
||||
it("the standalone sweep names registered templates only", () => {
|
||||
expect(STANDALONE_SWEEP.every((id) => Object.hasOwn(TEMPLATES, id))).toBe(true);
|
||||
});
|
||||
Reference in New Issue
Block a user