feat: release design system engine, studio and component contracts
This commit is contained in:
1 parent
ff1065fb27
commit
3943b946d6
693 files changed
+175546
-3894
No files matched your search
@@ -4,7 +4,9 @@ import { emailPresets } from "../src/presets.ts";
|
||||
|
||||
test("published email editor content factories return valid independent instances", () => {
|
||||
let id = 0;
|
||||
for (const definition of emailEditorBlocks.filter(block => block.manifest.category === "content")) {
|
||||
for (const definition of emailEditorBlocks.filter(
|
||||
(block) => block.manifest.category === "content",
|
||||
)) {
|
||||
const first = definition.create({ id: () => String(++id) });
|
||||
const second = definition.create({ id: () => String(++id) });
|
||||
expect(first.id).not.toBe(second.id);
|
||||
|
||||
Reference in new issue
Block a user