@@ -35,7 +35,7 @@ it('returns an error with info when constructed using another error', (done) =>
35
35
const err = Boom . wrap ( error ) ;
36
36
expect ( err . xyz ) . to . equal ( 123 ) ;
37
37
expect ( err . message ) . to . equal ( 'ka-boom' ) ;
38
- expect ( err . output ) . to . deep . equal ( {
38
+ expect ( err . output ) . to . equal ( {
39
39
statusCode : 500 ,
40
40
payload : {
41
41
statusCode : 500 ,
@@ -172,7 +172,7 @@ describe('unauthorized()', () => {
172
172
173
173
const err = Boom . unauthorized ( ) ;
174
174
expect ( err . output . statusCode ) . to . equal ( 401 ) ;
175
- expect ( err . output . headers ) . to . deep . equal ( { } ) ;
175
+ expect ( err . output . headers ) . to . equal ( { } ) ;
176
176
done ( ) ;
177
177
} ) ;
178
178
@@ -203,7 +203,7 @@ describe('unauthorized()', () => {
203
203
const err = Boom . unauthorized ( 'boom' , 'Test' , { a : 1 , b : 'something' , c : null , d : 0 } ) ;
204
204
expect ( err . output . statusCode ) . to . equal ( 401 ) ;
205
205
expect ( err . output . headers [ 'WWW-Authenticate' ] ) . to . equal ( 'Test a="1", b="something", c="", d="0", error="boom"' ) ;
206
- expect ( err . output . payload . attributes ) . to . deep . equal ( { a : 1 , b : 'something' , c : '' , d : 0 , error : 'boom' } ) ;
206
+ expect ( err . output . payload . attributes ) . to . equal ( { a : 1 , b : 'something' , c : '' , d : 0 , error : 'boom' } ) ;
207
207
done ( ) ;
208
208
} ) ;
209
209
0 commit comments