You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wantErr: "no checks reported on the 'master' branch",
95
98
},
96
99
{
97
100
name: "some failing",
98
101
fixture: "./fixtures/someFailing.json",
99
102
wantOut: "Some checks were not successful\n1 failing, 1 successful, and 1 pending checks\n\nX sad tests 1m26s sweet link\n✓ cool tests 1m26s sweet link\n- slow tests 1m26s sweet link\n",
100
-
wantErr: true,
103
+
wantErr: "SilentError",
101
104
},
102
105
{
103
106
name: "some pending",
104
107
fixture: "./fixtures/somePending.json",
105
108
wantOut: "Some checks are still pending\n0 failing, 2 successful, and 1 pending checks\n\n✓ cool tests 1m26s sweet link\n✓ rad tests 1m26s sweet link\n- slow tests 1m26s sweet link\n",
106
-
wantErr: true,
109
+
wantErr: "SilentError",
107
110
},
108
111
{
109
112
name: "all passing",
110
113
fixture: "./fixtures/allPassing.json",
111
114
wantOut: "All checks were successful\n0 failing, 3 successful, and 0 pending checks\n\n✓ awesome tests 1m26s sweet link\n✓ cool tests 1m26s sweet link\n✓ rad tests 1m26s sweet link\n",
115
+
wantErr: "",
112
116
},
113
117
{
114
118
name: "with statuses",
115
119
fixture: "./fixtures/withStatuses.json",
116
120
wantOut: "Some checks were not successful\n1 failing, 2 successful, and 0 pending checks\n\nX a status sweet link\n✓ cool tests 1m26s sweet link\n✓ rad tests 1m26s sweet link\n",
0 commit comments