fix(tutorial): correct punctuation in tutorial restart modal message
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m11s
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m11s
This commit is contained in:
@@ -417,7 +417,6 @@ describe('UserProfile - Auto-save', () => {
|
|||||||
it('saveNames sends PUT with first and last name', async () => {
|
it('saveNames sends PUT with first and last name', async () => {
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
await nextTick()
|
await nextTick()
|
||||||
|
|
||||||
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
||||||
|
|
||||||
wrapper.vm.firstName = 'Updated'
|
wrapper.vm.firstName = 'Updated'
|
||||||
@@ -435,7 +434,6 @@ describe('UserProfile - Auto-save', () => {
|
|||||||
it('saveImage sends PUT with image_id', async () => {
|
it('saveImage sends PUT with image_id', async () => {
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
await nextTick()
|
await nextTick()
|
||||||
|
|
||||||
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
||||||
|
|
||||||
await wrapper.vm.saveImage('new-image-id')
|
await wrapper.vm.saveImage('new-image-id')
|
||||||
@@ -502,7 +500,6 @@ describe('UserProfile - Auto-save', () => {
|
|||||||
it('shows error message on failed profile update', async () => {
|
it('shows error message on failed profile update', async () => {
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
await nextTick()
|
await nextTick()
|
||||||
|
|
||||||
;(global.fetch as any).mockResolvedValueOnce({
|
;(global.fetch as any).mockResolvedValueOnce({
|
||||||
ok: false,
|
ok: false,
|
||||||
status: 500,
|
status: 500,
|
||||||
@@ -579,7 +576,6 @@ describe('UserProfile - Notification Toggles', () => {
|
|||||||
wrapper = mountWithDigest(true)
|
wrapper = mountWithDigest(true)
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
await nextTick()
|
await nextTick()
|
||||||
|
|
||||||
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
||||||
|
|
||||||
await wrapper.vm.onToggleDigest(false)
|
await wrapper.vm.onToggleDigest(false)
|
||||||
@@ -595,7 +591,6 @@ describe('UserProfile - Notification Toggles', () => {
|
|||||||
wrapper = mountWithDigest(true)
|
wrapper = mountWithDigest(true)
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
await nextTick()
|
await nextTick()
|
||||||
|
|
||||||
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
;(global.fetch as any).mockResolvedValueOnce({ ok: true, json: async () => ({}) })
|
||||||
|
|
||||||
expect(wrapper.vm.pushEnabled).toBe(false)
|
expect(wrapper.vm.pushEnabled).toBe(false)
|
||||||
@@ -666,6 +661,6 @@ describe('UserProfile - Tutorial restart', () => {
|
|||||||
|
|
||||||
const modal = wrapper.find('.mock-modal')
|
const modal = wrapper.find('.mock-modal')
|
||||||
expect(modal.text()).toContain('Tutorial Restart')
|
expect(modal.text()).toContain('Tutorial Restart')
|
||||||
expect(modal.text()).toContain('Tutorial mode has been restarted')
|
expect(modal.text()).toContain('Tutorial mode has been restarted.')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user