Skip to content

Commit

Permalink
fix: fix checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Реутов Данила Валерьевич authored and Реутов Данила Валерьевич committed Aug 28, 2023
1 parent 9b52fa1 commit 8497978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/__test__/CheckBox.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { render, screen } from '@testing-library/react';
import { Locators } from './constants';
import userEvent from '@testing-library/user-event';
import { CheckBox } from '../components/CheckBox/CheckBox';
import CheckBox from '../components/CheckBox';

describe('Тестирование компонента CheckBox', () => {
test('Значение чекбокса зависит от пропса checked', () => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/CheckBox/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from './CheckBox';
export * from './CheckBox';

0 comments on commit 8497978

Please sign in to comment.