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
‼ warning (UnhandledPromiseRejectionWarning) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)␊
124
+
at STACK TRACE␊
125
+
× rejectionHandled (a promise was rejected and handled too late) Error: message␊
126
+
at STACK TRACE`,
127
+
stdout: '',
128
+
}
129
+
130
+
## should work with warnings-related CLI flags | uncaughtException "--no-warnings"
131
+
132
+
> Snapshot 1
133
+
134
+
{
135
+
exitCode: 1,
136
+
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
137
+
at STACK TRACE`,
138
+
stdout: '',
139
+
}
140
+
141
+
## should work with warnings-related CLI flags | uncaughtException "--unhandled-rejections=none"
142
+
143
+
> Snapshot 1
144
+
145
+
{
146
+
exitCode: 1,
147
+
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
148
+
at STACK TRACE`,
149
+
stdout: '',
150
+
}
151
+
152
+
## should work with warnings-related CLI flags | uncaughtException "--unhandled-rejections=strict"
153
+
154
+
> Snapshot 1
155
+
156
+
{
157
+
exitCode: 1,
158
+
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
159
+
at STACK TRACE`,
160
+
stdout: '',
161
+
}
162
+
163
+
## should work with warnings-related CLI flags | uncaughtException "--unhandled-rejections=warn"
164
+
165
+
> Snapshot 1
166
+
167
+
{
168
+
exitCode: 1,
169
+
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
170
+
at STACK TRACE`,
171
+
stdout: '',
172
+
}
173
+
174
+
## should work with warnings-related CLI flags | unhandledRejection "--no-warnings"
175
+
176
+
> Snapshot 1
177
+
178
+
{
179
+
exitCode: 0,
180
+
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
181
+
at STACK TRACE`,
182
+
stdout: '',
183
+
}
184
+
185
+
## should work with warnings-related CLI flags | unhandledRejection "--unhandled-rejections=none"
186
+
187
+
> Snapshot 1
188
+
189
+
{
190
+
exitCode: 0,
191
+
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
192
+
at STACK TRACE`,
193
+
stdout: '',
194
+
}
195
+
196
+
## should work with warnings-related CLI flags | unhandledRejection "--unhandled-rejections=strict"
197
+
198
+
> Snapshot 1
199
+
200
+
{
201
+
exitCode: 1,
202
+
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
203
+
at STACK TRACE␊
204
+
× unhandledRejection (a promise was rejected but not handled) Error: message␊
205
+
at STACK TRACE`,
206
+
stdout: '',
207
+
}
208
+
209
+
## should work with warnings-related CLI flags | unhandledRejection "--unhandled-rejections=warn"
210
+
211
+
> Snapshot 1
212
+
213
+
{
214
+
exitCode: 0,
215
+
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
‼ warning (UnhandledPromiseRejectionWarning) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)␊
220
+
at STACK TRACE`,
221
+
stdout: '',
222
+
}
223
+
224
+
## should work with warnings-related CLI flags | warning "--no-warnings"
225
+
226
+
> Snapshot 1
227
+
228
+
{
229
+
exitCode: 0,
230
+
stderr: `‼ warning (WarningType) message␊
231
+
[500] Detail␊
232
+
at STACK TRACE`,
233
+
stdout: '',
234
+
}
235
+
236
+
## should work with warnings-related CLI flags | warning "--unhandled-rejections=none"
237
+
238
+
> Snapshot 1
239
+
240
+
{
241
+
exitCode: 0,
242
+
stderr: `‼ warning (WarningType) message␊
243
+
[500] Detail␊
244
+
at STACK TRACE`,
245
+
stdout: '',
246
+
}
247
+
248
+
## should work with warnings-related CLI flags | warning "--unhandled-rejections=strict"
249
+
250
+
> Snapshot 1
251
+
252
+
{
253
+
exitCode: 0,
254
+
stderr: `‼ warning (WarningType) message␊
255
+
[500] Detail␊
256
+
at STACK TRACE`,
257
+
stdout: '',
258
+
}
259
+
260
+
## should work with warnings-related CLI flags | warning "--unhandled-rejections=warn"
0 commit comments