This document defines the configuration for Vitest, a test runner for Vue projects. It resolves aliases for common import paths to simplify imports. It sets configuration options like defining development and test environments, using JSDOM for tests, and specifying a setup file for tests. The configuration returns an object defining the resolve aliases, global defines, and test environment settings.
This document defines the configuration for Vitest, a test runner for Vue projects. It resolves aliases for common import paths to simplify imports. It sets configuration options like defining development and test environments, using JSDOM for tests, and specifying a setup file for tests. The configuration returns an object defining the resolve aliases, global defines, and test environment settings.
This document defines the configuration for Vitest, a test runner for Vue projects. It resolves aliases for common import paths to simplify imports. It sets configuration options like defining development and test environments, using JSDOM for tests, and specifying a setup file for tests. The configuration returns an object defining the resolve aliases, global defines, and test environment settings.