feat: Implement SampleAppServiceTests for application service testing feat: Create newProjectConfigureApplicationTests project for application layer tests feat: Establish newProjectConfigureDomainTests project for domain layer tests feat: Introduce Entity Framework Core tests for the newProjectConfigure application feat: Develop console test application for HTTP API client demonstration feat: Implement FakeCurrentPrincipalAccessor for testing purposes chore: Set up test base classes and data seed contributors for consistent testing environment
23 lines
747 B
TypeScript
23 lines
747 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
|
|
import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';
|
|
|
|
export default defineConfig(() => ({
|
|
root: __dirname,
|
|
cacheDir: '../../node_modules/.vite/packages/theme-basic',
|
|
plugins: [nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
|
|
test: {
|
|
name: 'theme-basic',
|
|
watch: false,
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: ['src/test-setup.ts'],
|
|
include: ['{src,tests}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
|
reporters: ['default'],
|
|
coverage: {
|
|
reportsDirectory: '../../coverage/packages/theme-basic',
|
|
provider: 'v8' as const,
|
|
},
|
|
},
|
|
}));
|