forked from gitify-app/gitify
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(jest): align test suite names to match code under test (giti…
- Loading branch information
Showing
20 changed files
with
136 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,143 +1,143 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`formatReason should format the notification reason 1`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 1`] = ` | ||
{ | ||
"description": "You were requested to review and approve a deployment.", | ||
"type": "Approval Requested", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 2`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 2`] = ` | ||
{ | ||
"description": "You were assigned to the issue.", | ||
"type": "Assign", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 3`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 3`] = ` | ||
{ | ||
"description": "You created the thread.", | ||
"type": "Author", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 4`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 4`] = ` | ||
{ | ||
"description": "A GitHub Actions workflow run was triggered for your repository", | ||
"type": "Workflow Run", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 5`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 5`] = ` | ||
{ | ||
"description": "You commented on the thread.", | ||
"type": "Comment", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 6`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 6`] = ` | ||
{ | ||
"description": "You accepted an invitation to contribute to the repository.", | ||
"type": "Invitation", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 7`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 7`] = ` | ||
{ | ||
"description": "You subscribed to the thread (via an issue or pull request).", | ||
"type": "Manual", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 8`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 8`] = ` | ||
{ | ||
"description": "Organization members have requested to enable a feature such as Draft Pull Requests or CoPilot.", | ||
"type": "Member Feature Requested", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 9`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 9`] = ` | ||
{ | ||
"description": "You were specifically @mentioned in the content.", | ||
"type": "Mention", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 10`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 10`] = ` | ||
{ | ||
"description": "You, or a team you're a member of, were requested to review a pull request.", | ||
"type": "Review Requested", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 11`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 11`] = ` | ||
{ | ||
"description": "You were credited for contributing to a security advisory.", | ||
"type": "Security Advisory Credit", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 12`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 12`] = ` | ||
{ | ||
"description": "GitHub discovered a security vulnerability in your repository.", | ||
"type": "Security Alert", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 13`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 13`] = ` | ||
{ | ||
"description": "You changed the thread state (for example, closing an issue or merging a pull request).", | ||
"type": "State Change", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 14`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 14`] = ` | ||
{ | ||
"description": "You're watching the repository.", | ||
"type": "Subscribed", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 15`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 15`] = ` | ||
{ | ||
"description": "You were on a team that was mentioned.", | ||
"type": "Team Mention", | ||
} | ||
`; | ||
|
||
exports[`formatReason should format the notification reason 16`] = ` | ||
exports[`utils/github-api.ts formatReason - should format the notification reason 16`] = ` | ||
{ | ||
"description": "The reason for this notification is not supported by the app.", | ||
"type": "Unknown", | ||
} | ||
`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for check suite 1`] = `"text-gray-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for check suite 1`] = `"text-gray-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for check suite 2`] = `"text-red-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for check suite 2`] = `"text-red-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for check suite 3`] = `"text-gray-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for check suite 3`] = `"text-gray-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for check suite 4`] = `"text-green-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for check suite 4`] = `"text-green-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for check suite 5`] = `"text-gray-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for check suite 5`] = `"text-gray-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 1`] = `"text-green-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 1`] = `"text-green-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 2`] = `"text-red-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 2`] = `"text-red-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 3`] = `"text-purple-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 3`] = `"text-purple-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 4`] = `"text-gray-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 4`] = `"text-gray-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 5`] = `"text-purple-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 5`] = `"text-purple-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 6`] = `"text-gray-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 6`] = `"text-gray-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 7`] = `"text-green-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 7`] = `"text-green-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 8`] = `"text-green-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 8`] = `"text-green-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 9`] = `"text-purple-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 9`] = `"text-purple-500"`; | ||
|
||
exports[`getNotificationTypeIconColor should format the notification color for state 10`] = `"text-gray-500"`; | ||
exports[`utils/github-api.ts getNotificationTypeIconColor should format the notification color for state 10`] = `"text-gray-500"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.