Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jest): 100% coverage for Iridium/notifications/types #4516

Merged
merged 1 commit into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions libraries/Iridium/notifications/__snapshots__/types.test.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`test constants of Iridium/notifications/types should return correct value for EmptyNotification 1`] = `
Object {
"at": 0,
"description": "",
"fromAddress": "",
"fromName": "",
"id": "",
"image": "",
"seen": false,
"title": "",
"type": "Seen",
}
`;
7 changes: 7 additions & 0 deletions libraries/Iridium/notifications/types.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { EmptyNotification } from '~/libraries/Iridium/notifications/types'

describe('test constants of Iridium/notifications/types', () => {
it('should return correct value for EmptyNotification', () => {
expect(EmptyNotification).toMatchSnapshot()
})
})