mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
Add compact inline TagChip for list items/cards (smaller than TagBadge). Set up vitest with jsdom for shared-ui package and add 44 tests covering TagChip, TagBadge, TagColorPicker, TagSelector, and constants. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
400 B
TypeScript
18 lines
400 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
test: {
|
|
include: ['src/**/*.{test,spec}.{js,ts}'],
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: ['./src/test/setup.ts'],
|
|
clearMocks: true,
|
|
mockReset: true,
|
|
restoreMocks: true,
|
|
},
|
|
resolve: {
|
|
conditions: ['browser'],
|
|
},
|
|
});
|