|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`./utils/github-api.ts should format the notification color 1`] = `"text-red-500"`; |
4 | | - |
5 | | -exports[`./utils/github-api.ts should format the notification color 2`] = `"text-purple-500"`; |
6 | | - |
7 | | -exports[`./utils/github-api.ts should format the notification color 3`] = `"text-gray-600"`; |
8 | | - |
9 | | -exports[`./utils/github-api.ts should format the notification color 4`] = `"text-purple-500"`; |
10 | | - |
11 | | -exports[`./utils/github-api.ts should format the notification color 5`] = `"text-gray-300"`; |
12 | | - |
13 | | -exports[`./utils/github-api.ts should format the notification color 6`] = `"text-green-500"`; |
14 | | - |
15 | | -exports[`./utils/github-api.ts should format the notification color 7`] = `"text-green-500"`; |
16 | | - |
17 | | -exports[`./utils/github-api.ts should format the notification color 8`] = `"text-gray-300"`; |
18 | | - |
19 | | -exports[`./utils/github-api.ts should format the notification reason 1`] = ` |
| 3 | +exports[`formatReason should format the notification reason 1`] = ` |
20 | 4 | { |
21 | 5 | "description": "You were assigned to the issue.", |
22 | 6 | "type": "Assign", |
23 | 7 | } |
24 | 8 | `; |
25 | 9 |
|
26 | | -exports[`./utils/github-api.ts should format the notification reason 2`] = ` |
| 10 | +exports[`formatReason should format the notification reason 2`] = ` |
27 | 11 | { |
28 | 12 | "description": "You created the thread.", |
29 | 13 | "type": "Author", |
30 | 14 | } |
31 | 15 | `; |
32 | 16 |
|
33 | | -exports[`./utils/github-api.ts should format the notification reason 3`] = ` |
| 17 | +exports[`formatReason should format the notification reason 3`] = ` |
34 | 18 | { |
35 | 19 | "description": "A GitHub Actions workflow run was triggered for your repository", |
36 | 20 | "type": "Workflow Run", |
37 | 21 | } |
38 | 22 | `; |
39 | 23 |
|
40 | | -exports[`./utils/github-api.ts should format the notification reason 4`] = ` |
| 24 | +exports[`formatReason should format the notification reason 4`] = ` |
41 | 25 | { |
42 | 26 | "description": "You commented on the thread.", |
43 | 27 | "type": "Comment", |
44 | 28 | } |
45 | 29 | `; |
46 | 30 |
|
47 | | -exports[`./utils/github-api.ts should format the notification reason 5`] = ` |
| 31 | +exports[`formatReason should format the notification reason 5`] = ` |
48 | 32 | { |
49 | 33 | "description": "You accepted an invitation to contribute to the repository.", |
50 | 34 | "type": "Invitation", |
51 | 35 | } |
52 | 36 | `; |
53 | 37 |
|
54 | | -exports[`./utils/github-api.ts should format the notification reason 6`] = ` |
| 38 | +exports[`formatReason should format the notification reason 6`] = ` |
55 | 39 | { |
56 | 40 | "description": "You subscribed to the thread (via an issue or pull request).", |
57 | 41 | "type": "Manual", |
58 | 42 | } |
59 | 43 | `; |
60 | 44 |
|
61 | | -exports[`./utils/github-api.ts should format the notification reason 7`] = ` |
| 45 | +exports[`formatReason should format the notification reason 7`] = ` |
62 | 46 | { |
63 | 47 | "description": "Organization members have requested to enable a feature such as Draft Pull Requests or CoPilot.", |
64 | 48 | "type": "Member Feature Requested", |
65 | 49 | } |
66 | 50 | `; |
67 | 51 |
|
68 | | -exports[`./utils/github-api.ts should format the notification reason 8`] = ` |
| 52 | +exports[`formatReason should format the notification reason 8`] = ` |
69 | 53 | { |
70 | 54 | "description": "You were specifically @mentioned in the content.", |
71 | 55 | "type": "Mention", |
72 | 56 | } |
73 | 57 | `; |
74 | 58 |
|
75 | | -exports[`./utils/github-api.ts should format the notification reason 9`] = ` |
| 59 | +exports[`formatReason should format the notification reason 9`] = ` |
76 | 60 | { |
77 | 61 | "description": "You, or a team you're a member of, were requested to review a pull request.", |
78 | 62 | "type": "Review Requested", |
79 | 63 | } |
80 | 64 | `; |
81 | 65 |
|
82 | | -exports[`./utils/github-api.ts should format the notification reason 10`] = ` |
| 66 | +exports[`formatReason should format the notification reason 10`] = ` |
83 | 67 | { |
84 | 68 | "description": "You were credited for contributing to a security advisory.", |
85 | 69 | "type": "Security Advisory Credit", |
86 | 70 | } |
87 | 71 | `; |
88 | 72 |
|
89 | | -exports[`./utils/github-api.ts should format the notification reason 11`] = ` |
| 73 | +exports[`formatReason should format the notification reason 11`] = ` |
90 | 74 | { |
91 | 75 | "description": "GitHub discovered a security vulnerability in your repository.", |
92 | 76 | "type": "Security Alert", |
93 | 77 | } |
94 | 78 | `; |
95 | 79 |
|
96 | | -exports[`./utils/github-api.ts should format the notification reason 12`] = ` |
| 80 | +exports[`formatReason should format the notification reason 12`] = ` |
97 | 81 | { |
98 | 82 | "description": "You changed the thread state (for example, closing an issue or merging a pull request).", |
99 | 83 | "type": "State Change", |
100 | 84 | } |
101 | 85 | `; |
102 | 86 |
|
103 | | -exports[`./utils/github-api.ts should format the notification reason 13`] = ` |
| 87 | +exports[`formatReason should format the notification reason 13`] = ` |
104 | 88 | { |
105 | 89 | "description": "You're watching the repository.", |
106 | 90 | "type": "Subscribed", |
107 | 91 | } |
108 | 92 | `; |
109 | 93 |
|
110 | | -exports[`./utils/github-api.ts should format the notification reason 14`] = ` |
| 94 | +exports[`formatReason should format the notification reason 14`] = ` |
111 | 95 | { |
112 | 96 | "description": "You were on a team that was mentioned.", |
113 | 97 | "type": "Team Mention", |
114 | 98 | } |
115 | 99 | `; |
116 | 100 |
|
117 | | -exports[`./utils/github-api.ts should format the notification reason 15`] = ` |
| 101 | +exports[`formatReason should format the notification reason 15`] = ` |
118 | 102 | { |
119 | 103 | "description": "The reason for this notification is not supported by the app.", |
120 | 104 | "type": "Unknown", |
121 | 105 | } |
122 | 106 | `; |
| 107 | + |
| 108 | +exports[`getNotificationTypeIconColor should format the notification color for check suite 1`] = `"text-gray-500"`; |
| 109 | + |
| 110 | +exports[`getNotificationTypeIconColor should format the notification color for check suite 2`] = `"text-red-500"`; |
| 111 | + |
| 112 | +exports[`getNotificationTypeIconColor should format the notification color for check suite 3`] = `"text-gray-500"`; |
| 113 | + |
| 114 | +exports[`getNotificationTypeIconColor should format the notification color for check suite 4`] = `"text-green-500"`; |
| 115 | + |
| 116 | +exports[`getNotificationTypeIconColor should format the notification color for check suite 5`] = `"text-gray-300"`; |
| 117 | + |
| 118 | +exports[`getNotificationTypeIconColor should format the notification color for state 1`] = `"text-red-500"`; |
| 119 | + |
| 120 | +exports[`getNotificationTypeIconColor should format the notification color for state 2`] = `"text-purple-500"`; |
| 121 | + |
| 122 | +exports[`getNotificationTypeIconColor should format the notification color for state 3`] = `"text-gray-600"`; |
| 123 | + |
| 124 | +exports[`getNotificationTypeIconColor should format the notification color for state 4`] = `"text-purple-500"`; |
| 125 | + |
| 126 | +exports[`getNotificationTypeIconColor should format the notification color for state 5`] = `"text-gray-300"`; |
| 127 | + |
| 128 | +exports[`getNotificationTypeIconColor should format the notification color for state 6`] = `"text-green-500"`; |
| 129 | + |
| 130 | +exports[`getNotificationTypeIconColor should format the notification color for state 7`] = `"text-green-500"`; |
| 131 | + |
| 132 | +exports[`getNotificationTypeIconColor should format the notification color for state 8`] = `"text-gray-300"`; |
0 commit comments