Created
January 21, 2023 17:31
-
-
Save paulmelero/be1d88e783b6925c0e222f2e3cdcf0e4 to your computer and use it in GitHub Desktop.
Basic vitest config for a Nuxt project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vitest.config.mjs | |
import { defineConfigWithNuxtEnv } from 'vitest-environment-nuxt/config' | |
export default defineConfigWithNuxtEnv({ | |
test: { | |
globals: true, | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment