Skip to content

Commit

Permalink
removed globals from vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
buffet-time committed Aug 11, 2024
1 parent dc5731a commit 7a0c47a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pages/confirm-account.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { vi, describe, it, expect } from 'vitest'

import { mountSuspended } from '@nuxt/test-utils/runtime'
import { getByClass } from 'root/testUtils'
import confirmAccount from 'pages/confirm-account.vue'
Expand Down
2 changes: 2 additions & 0 deletions pages/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { describe, it, expect } from 'vitest'

import { mountSuspended } from '@nuxt/test-utils/runtime'
import index from 'pages/index.vue'

Expand Down
2 changes: 2 additions & 0 deletions pages/reset-password.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { vi, describe, it, expect } from 'vitest'

import { mountSuspended } from '@nuxt/test-utils/runtime'
import { getByClass } from 'root/testUtils'
import resetPassword from 'pages/reset-password.vue'
Expand Down
1 change: 0 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { defineVitestConfig } from '@nuxt/test-utils/config'
export default defineVitestConfig({
test: {
environment: 'nuxt',
globals: true,
sequence: {
shuffle: true,
},
Expand Down

0 comments on commit 7a0c47a

Please sign in to comment.