This commit is contained in:
2024-10-19 07:48:30 +03:00
parent 2829c11e4c
commit 17697d7f77
21 changed files with 5050 additions and 630 deletions
+11
View File
@@ -0,0 +1,11 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
import AccountButtons from '../src/components/account/AccountButtons.jsx';
describe('AccountButtons Component', () => {
it('should render the AccountButtons component', () => {
render(<AccountButtons registered={false} />);
const accountButtonsElement = screen.getByRole('button', { name: /register/i });
expect(accountButtonsElement).toBeInTheDocument();
});
});