- Add vitest globals type definitions to tsconfig.app.json - Enable globals in vite.config.ts test configuration - Add explicit vitest imports and type references to all .test.ts files - Add missing `placeholder` property to PasswordFieldProps interface - Add missing `required` field to test field definitions in FieldRenderer.test.tsx - Update FieldDef and BackendMeta interfaces to support readonly arrays - Fix readonly array type incompatibilities in BackendSelectionStep.tsx - Fix form submission handler type mismatch in RemoteConfigStep.tsx - Remove unused helper functions and imports from StepIndicator.test.tsx These changes resolve all TypeScript compilation errors preventing the Docker build from completing. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
13 lines
283 B
TypeScript
13 lines
283 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
passWithNoTests: true,
|
|
},
|
|
});
|