-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable "global" in vitest #9
Comments
Can you provide the draft you are working on? I will try to work on in |
I didn't save it. There wasn't much to it. Just remove some stuff from the vitest config and the tsconfig and things stopped working 😅 I didn't spend much time on it I'm afraid. |
do you want to remove:
plugins: [react(), tsconfigPaths()],
test: {
include: ['./app/**/*.test.{ts,tsx}'],
- globals: true,
environment: 'jsdom',
setupFiles: ['./other/test-setup/setup-test-env.ts'],
globalSetup: ['./other/test-setup/global-setup.ts'], or
or ... |
I guess I would like to remove the global |
I tried and ran into TS issues. Would love to ditch it though.
The text was updated successfully, but these errors were encountered: