Skip to content

Commit

Permalink
fix:#521 - test exceptiom handling
Browse files Browse the repository at this point in the history
  • Loading branch information
marclupanc committed Nov 15, 2024
1 parent 800fffe commit 90fa645
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions src/stores/__tests__/errors.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//Testing Frameworks
import { createPinia, setActivePinia } from 'pinia'
import { afterAll, beforeEach, describe, expect, it, vi } from 'vitest'
import { beforeEach, describe, it, vi } from 'vitest'

// Necessary Components
import { useErrorStore, useUserStore } from 'src/stores'
Expand Down Expand Up @@ -68,7 +68,3 @@ describe('Errors Store', async () => {
// expect(errorStore.getErrors.length).toBeGreaterThanOrEqual(initialLength)
})
})

afterAll(async () => {
// clean up logic.
})
6 changes: 1 addition & 5 deletions src/stores/__tests__/user.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//Testing Frameworks
import { createPinia, setActivePinia } from 'pinia'
import { afterAll, beforeEach, describe, expect, it, vi } from 'vitest'
import { beforeEach, describe, expect, it, vi } from 'vitest'
import { deleteUser, getAuth } from 'firebase/auth'

// Necessary Components
Expand Down Expand Up @@ -294,7 +294,3 @@ describe('Users Store', () => {
})
})
})

afterAll(async () => {
// clean up logic.
})

0 comments on commit 90fa645

Please sign in to comment.