chore: sync infra docs and coverage
Some checks failed
CI / Backend Tests (push) Failing after 2m41s
CI / Frontend Tests (push) Successful in 2m14s
CI / Build Docker Images (push) Has been skipped

This commit is contained in:
2025-10-16 22:41:22 -05:00
parent a553b14017
commit 252775faf3
109 changed files with 29696 additions and 208 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import ReactDOMServer from 'react-dom/server';
import { render, screen } from '@testing-library/react';
import App from './App';
jest.mock('axios', () => ({
@@ -49,7 +49,7 @@ jest.mock('react-hot-toast', () => ({
describe('App', () => {
it('renders without crashing', () => {
const markup = ReactDOMServer.renderToStaticMarkup(<App />);
expect(markup).toContain('data-testid="toaster"');
render(<App />);
expect(screen.getByTestId('toaster')).toBeInTheDocument();
});
});