Skip to content

Commit 73892c2

Browse files
committed
refactor: test suites
Signed-off-by: Adam Setch <[email protected]>
1 parent b9ca474 commit 73892c2

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

src/renderer/components/notifications/AccountNotifications.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import * as links from '../../utils/links';
1313
import { AccountNotifications } from './AccountNotifications';
1414

1515
jest.mock('./RepositoryNotifications', () => ({
16-
RepositoryNotifications: () => <div>Repository Notifications</div>,
16+
RepositoryNotifications: () => <div>RepositoryNotifications</div>,
1717
}));
1818

1919
describe('renderer/components/notifications/AccountNotifications.tsx', () => {

src/renderer/components/notifications/RepositoryNotifications.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as comms from '../../utils/comms';
1010
import { RepositoryNotifications } from './RepositoryNotifications';
1111

1212
jest.mock('./NotificationRow', () => ({
13-
NotificationRow: () => <div>Notification Row</div>,
13+
NotificationRow: () => <div>NotificationRow</div>,
1414
}));
1515

1616
describe('renderer/components/notifications/RepositoryNotifications.tsx', () => {

src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)