File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -201,19 +201,6 @@ describe('Subclass Instantiation', function () {
201
201
} )
202
202
} )
203
203
204
- describe ( 'Prototype Chain Adjustments' , function ( ) {
205
- it ( 'CustomError instances should have the correct prototype chain' , function ( ) {
206
- class CustomError extends createError . NotFound { }
207
- const err = new CustomError ( )
208
- assert ( err instanceof CustomError )
209
- assert ( err instanceof createError . NotFound )
210
- // we don't export ClientError currently
211
- // assert(err instanceof createError.ClientError)
212
- assert ( err instanceof createError . HttpError )
213
- assert ( err instanceof Error )
214
- } )
215
- } )
216
-
217
204
describe ( 'HTTP Errors' , function ( ) {
218
205
it ( 'createError(status, props)' , function ( ) {
219
206
var err = createError ( 404 , {
You can’t perform that action at this time.
0 commit comments