Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/zero-vue. Vue bindings for Zero
sync vue zero
Something went wrong. Try again.
zero-vue vitest.config.ts
603 B · 26 lines
TypeScript
123456789101112131415161718192021222324252627import { fileURLToPath } from 'node:url'import { defineConfig } from 'vitest/config'
export default defineConfig({ resolve: { alias: { 'zero-vue': fileURLToPath( new URL('./src/index.ts', import.meta.url).href, ), }, }, test: { include: ['src/**/*.test.ts', 'test/*.test.ts'], onConsoleLog(log) { if (log.includes('Zero starting up with no server URL')) { return false } }, setupFiles: ['./test/setup.ts'], silent: 'passed-only', coverage: { include: ['src'], reporter: ['text', 'json', 'html'], }, },})