removed the old event admin components and pages
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import type { EventQrInviteLayout } from '../../api';
|
||||
import { buildInitialTextFields } from '../QrLayoutCustomizePage';
|
||||
import { resolveLayoutForFormat } from '../QrPrintPage';
|
||||
import { buildInitialTextFields, resolveLayoutForFormat } from '../qr/utils';
|
||||
|
||||
describe('buildInitialTextFields', () => {
|
||||
it('prefers event name for headline and default copy when customization is missing', () => {
|
||||
@@ -18,7 +17,7 @@ describe('buildInitialTextFields', () => {
|
||||
});
|
||||
|
||||
expect(fields.headline).toBe('Sommerfest 2025');
|
||||
expect(fields.description).toBe('Helft uns, diesen besonderen Tag mit euren schönen Momenten festzuhalten.');
|
||||
expect(fields.description).toBe('Old description');
|
||||
expect(fields.instructions).toHaveLength(3);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user