We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test-internal-errors
1 parent 6bc49f0 commit cc68bc2Copy full SHA for cc68bc2
test/parallel/test-internal-errors.js
@@ -175,6 +175,7 @@ common.expectsError(() => {
175
message: /^Error for testing 2/ });
176
}, {
177
code: 'ERR_ASSERTION',
178
+ type: assert.AssertionError,
179
message: /.+ does not match \S/
180
});
181
@@ -225,6 +226,7 @@ common.expectsError(
225
226
() => errors.message('ERR_INVALID_URL_SCHEME', [[]]),
227
{
228
229
230
message: /^At least one expected value needs to be specified$/
231
232
@@ -239,6 +241,7 @@ common.expectsError(
239
241
() => errors.message('ERR_MISSING_ARGS'),
240
242
243
244
245
message: /^At least one arg needs to be specified$/
246
247
0 commit comments