Compare commits
3 Commits
cd71110514
...
0.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f50ea991b | |||
| fd9175925e | |||
| 63108f4eb5 |
@@ -16,7 +16,7 @@ cd "$CLAUDE_PROJECT_DIR/frontend"
|
|||||||
ERRORS=""
|
ERRORS=""
|
||||||
|
|
||||||
# Type-check
|
# Type-check
|
||||||
if OUTPUT=$(npx vue-tsc --noEmit 2>&1); then
|
if OUTPUT=$(npm run type-check 2>&1); then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
ERRORS+="Type-check failed:\n$OUTPUT\n\n"
|
ERRORS+="Type-check failed:\n$OUTPUT\n\n"
|
||||||
|
|||||||
@@ -173,6 +173,7 @@ describe('EventCreateView', () => {
|
|||||||
organizerToken: 'org-456',
|
organizerToken: 'org-456',
|
||||||
title: 'Birthday Party',
|
title: 'Birthday Party',
|
||||||
dateTime: '2026-12-25T18:00:00+01:00',
|
dateTime: '2026-12-25T18:00:00+01:00',
|
||||||
|
timezone: 'Europe/Berlin',
|
||||||
expiryDate: '2026-12-24',
|
expiryDate: '2026-12-24',
|
||||||
},
|
},
|
||||||
error: undefined,
|
error: undefined,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ vi.mock('@/api/client', () => ({
|
|||||||
},
|
},
|
||||||
}))
|
}))
|
||||||
|
|
||||||
function createTestRouter() {
|
function createTestRouter(_token?: string) {
|
||||||
return createRouter({
|
return createRouter({
|
||||||
history: createMemoryHistory(),
|
history: createMemoryHistory(),
|
||||||
routes: [
|
routes: [
|
||||||
@@ -84,7 +84,7 @@ describe('EventDetailView', () => {
|
|||||||
const wrapper = await mountWithToken()
|
const wrapper = await mountWithToken()
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
|
|
||||||
const dateField = wrapper.findAll('.detail__value')[0]
|
const dateField = wrapper.findAll('.detail__value')[0]!
|
||||||
expect(dateField.text()).toContain('(Europe/Berlin)')
|
expect(dateField.text()).toContain('(Europe/Berlin)')
|
||||||
// The formatted date part is locale-dependent but should contain the year
|
// The formatted date part is locale-dependent but should contain the year
|
||||||
expect(dateField.text()).toContain('2026')
|
expect(dateField.text()).toContain('2026')
|
||||||
|
|||||||
Reference in New Issue
Block a user