Skip to content

Commit

Permalink
refactor: fix typo (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy authored Apr 10, 2024
1 parent 3b62af7 commit 9cbb320
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/AccountNotifications.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import TestRendener from 'react-test-renderer';
import TestRenderer from 'react-test-renderer';

import { mockedGithubNotifications } from '../__mocks__/mockedData';
import { AccountNotifications } from './AccountNotifications';
Expand All @@ -15,7 +15,7 @@ describe('components/AccountNotifications.tsx', () => {
showAccountHostname: true,
};

const tree = TestRendener.create(<AccountNotifications {...props} />);
const tree = TestRenderer.create(<AccountNotifications {...props} />);
expect(tree).toMatchSnapshot();
});

Expand All @@ -26,7 +26,7 @@ describe('components/AccountNotifications.tsx', () => {
showAccountHostname: true,
};

const tree = TestRendener.create(<AccountNotifications {...props} />);
const tree = TestRenderer.create(<AccountNotifications {...props} />);
expect(tree).toMatchSnapshot();
});
});
4 changes: 2 additions & 2 deletions src/components/fields/RadioGroup.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { fireEvent, render, screen } from '@testing-library/react';

import * as TestRendener from 'react-test-renderer';
import * as TestRenderer from 'react-test-renderer';

import { FieldRadioGroup } from './RadioGroup';

Expand All @@ -18,7 +18,7 @@ describe('components/fields/radiogroup.tsx', () => {
};

it('should render ', () => {
const tree = TestRendener.create(<FieldRadioGroup {...props} />);
const tree = TestRenderer.create(<FieldRadioGroup {...props} />);
expect(tree).toMatchSnapshot();
});

Expand Down

0 comments on commit 9cbb320

Please sign in to comment.