From 11f68c7f762ed9664aa94e26d37ded7eacd46508 Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Sun, 26 Jul 2026 00:00:21 -0400 Subject: [PATCH] fix(tutorial): correct punctuation in tutorial restart modal message --- frontend/src/__tests__/UserProfile.spec.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/__tests__/UserProfile.spec.ts b/frontend/src/__tests__/UserProfile.spec.ts index 7e8a998..540c01c 100644 --- a/frontend/src/__tests__/UserProfile.spec.ts +++ b/frontend/src/__tests__/UserProfile.spec.ts @@ -417,7 +417,6 @@ describe('UserProfile - Auto-save', () => { it('saveNames sends PUT with first and last name', async () => { await flushPromises() await nextTick() - ;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) }) wrapper.vm.firstName = 'Updated' @@ -435,7 +434,6 @@ describe('UserProfile - Auto-save', () => { it('saveImage sends PUT with image_id', async () => { await flushPromises() await nextTick() - ;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) }) await wrapper.vm.saveImage('new-image-id') @@ -502,7 +500,6 @@ describe('UserProfile - Auto-save', () => { it('shows error message on failed profile update', async () => { await flushPromises() await nextTick() - ;(global.fetch as any).mockResolvedValueOnce({ ok: false, status: 500, @@ -579,7 +576,6 @@ describe('UserProfile - Notification Toggles', () => { wrapper = mountWithDigest(true) await flushPromises() await nextTick() - ;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) }) await wrapper.vm.onToggleDigest(false) @@ -595,7 +591,6 @@ describe('UserProfile - Notification Toggles', () => { wrapper = mountWithDigest(true) await flushPromises() await nextTick() - ;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) }) expect(wrapper.vm.pushEnabled).toBe(false) @@ -666,6 +661,6 @@ describe('UserProfile - Tutorial restart', () => { const modal = wrapper.find('.mock-modal') expect(modal.text()).toContain('Tutorial Restart') - expect(modal.text()).toContain('Tutorial mode has been restarted') + expect(modal.text()).toContain('Tutorial mode has been restarted.') }) })