mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
14 lines
461 B
TypeScript
14 lines
461 B
TypeScript
import React from 'react';
|
|
import { render, screen } from '@testing-library/react';
|
|
import '@testing-library/jest-dom';
|
|
import LoadingCircle from '../../../components/LoadingCircle/LoadingCircle';
|
|
|
|
describe('LoadingCircle', () => {
|
|
it('displays the provided text correctly', () => {
|
|
const text = 'Veuillez attendre la connexion au serveur...';
|
|
render(<LoadingCircle text={text} />);
|
|
|
|
expect(screen.getByText(text)).toBeInTheDocument();
|
|
});
|
|
|
|
});
|