new file: .editorconfig new file: .gitignore new file: .prettierrc.json new file: .vscode/extensions.json new file: Dockerfile new file: README.md new file: cypress.config.ts new file: cypress/e2e/example.cy.ts new file: cypress/fixtures/example.json new file: cypress/support/commands.ts new file: cypress/support/e2e.ts new file: cypress/tsconfig.json new file: docker-compose.yml new file: env.d.ts new file: eslint.config.js new file: index.html new file: package-lock.json new file: package.json new file: postcss.config.js new file: public/favicon.ico new file: src/App.vue new file: src/assets/base.css new file: src/assets/logo.svg new file: src/assets/main.css new file: src/assets/tailwind.css new file: src/components/HelloWorld.vue new file: src/components/TheWelcome.vue new file: src/components/WelcomeItem.vue new file: src/components/__tests__/HelloWorld.spec.ts new file: src/components/icons/IconCommunity.vue new file: src/components/icons/IconDocumentation.vue new file: src/components/icons/IconEcosystem.vue new file: src/components/icons/IconSupport.vue new file: src/components/icons/IconTooling.vue new file: src/main.ts new file: src/router/index.ts new file: src/stores/counter.ts new file: src/views/AboutView.vue new file: src/views/HomeView.vue new file: tailwind.config.js new file: tsconfig.app.json new file: tsconfig.json new file: tsconfig.node.json new file: tsconfig.vitest.json new file: vite.config.ts new file: vitest.config.ts
14 lines
382 B
TypeScript
Executable file
14 lines
382 B
TypeScript
Executable file
import { fileURLToPath } from 'node:url'
|
|
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
|
|
import viteConfig from './vite.config'
|
|
|
|
export default mergeConfig(
|
|
viteConfig,
|
|
defineConfig({
|
|
test: {
|
|
environment: 'jsdom',
|
|
exclude: [...configDefaults.exclude, 'e2e/**'],
|
|
root: fileURLToPath(new URL('./', import.meta.url)),
|
|
},
|
|
}),
|
|
)
|