/** * Check out the documentation to see how to write and maintain tests: * @see https://docs.constructor.com/docs/integrating-with-constructor-connect-cli-development-flow#step-3-test-your-templates */ import { executeTemplate, buildFixture, } from "@constructor-io/constructorio-connect-cli"; describe("variation", () => { it("should match snapshot", async () => { const result = await executeTemplate({ type: "variation", name: "variation.ts", fixture: buildFixture("variation", "variation.json"), }); expect(result).toMatchSnapshot(); }); });