Compare commits

...

2 Commits

Author SHA1 Message Date
caf6d492ca fix: TypeScript build errors in frontend pipeline
Some checks failed
CI/CD Pipeline / backend-build (push) Successful in 2m41s
CI/CD Pipeline / frontend-build (push) Successful in 58s
CI/CD Pipeline / docker-build (push) Failing after 28s
- Remove unused ReactNode import in useAuth.test.tsx
- Use vitest/config for defineConfig to recognize test property
- Add vitest/globals to tsconfig types for test runner globals
2026-04-01 20:17:56 -03:00
653d3e7670 feat: agregar componente TestEcosistemaComponent para validación de ecosistema OpenCode 2026-04-01 19:14:34 -03:00
4 changed files with 23 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
import React from 'react';
const TestEcosistemaComponent: React.FC = () => {
return (
<div>
<h2>Test Ecosistema OpenCode</h2>
<p>Componente creado para completar la fase apply del flujo SDD</p>
<ul>
<li>MCP engram: Funcional</li>
<li>MCP mssql: Sin conexión</li>
<li>MCP convention-checker: Funcional</li>
<li>MCP release-mcp: Funcional</li>
<li>MCP coordinator-mcp: Funcional</li>
<li>MCP context7: Funcional</li>
<li>MCP sdd-mcp: Parcial/Stub</li>
</ul>
</div>
);
};
export default TestEcosistemaComponent;

View File

@@ -1,7 +1,6 @@
import { render, screen } from '@testing-library/react';
import { AuthProvider } from '../useAuth';
import { useAuth } from '../useAuth';
import { ReactNode } from 'react';
// Test component that uses useAuth hook
const TestComponent = () => {

View File

@@ -5,7 +5,7 @@
"useDefineForClassFields": true,
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"module": "ESNext",
"types": ["vite/client"],
"types": ["vite/client", "vitest/globals"],
"skipLibCheck": true,
/* Bundler mode */

View File

@@ -1,4 +1,4 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'