@@ -12,7 +12,7 @@ describe('BasaltError', () => {
1212            expect ( basaltError ) . toBeInstanceOf ( BasaltError ) ; 
1313            expect ( basaltError ) . toHaveProperty ( 'uuid' ) ; 
1414            expect ( basaltError ) . toHaveProperty ( 'date' ) ; 
15-             expect ( basaltError ) . toHaveProperty ( 'code ' ,  123 ) ; 
15+             expect ( basaltError ) . toHaveProperty ( 'statusCode ' ,  123 ) ; 
1616            expect ( basaltError ) . toHaveProperty ( 'fileName' ) ; 
1717            expect ( basaltError ) . toHaveProperty ( 'line' ) ; 
1818            expect ( basaltError ) . toHaveProperty ( 'column' ) ; 
@@ -27,7 +27,7 @@ describe('BasaltError', () => {
2727            expect ( basaltError ) . toBeInstanceOf ( BasaltError ) ; 
2828            expect ( basaltError ) . toHaveProperty ( 'uuid' ) ; 
2929            expect ( basaltError ) . toHaveProperty ( 'date' ) ; 
30-             expect ( basaltError ) . toHaveProperty ( 'code ' ,  500 ) ; 
30+             expect ( basaltError ) . toHaveProperty ( 'statusCode ' ,  500 ) ; 
3131            expect ( basaltError ) . toHaveProperty ( 'fileName' ) ; 
3232            expect ( basaltError ) . toHaveProperty ( 'line' ) ; 
3333            expect ( basaltError ) . toHaveProperty ( 'column' ) ; 
@@ -49,7 +49,7 @@ describe('BasaltError', () => {
4949            expect ( json ) . toHaveProperty ( 'uuid' ) ; 
5050            expect ( json ) . toHaveProperty ( 'date' ) ; 
5151            expect ( json ) . toHaveProperty ( 'message' ,  'error.basalt-package.example' ) ; 
52-             expect ( json ) . toHaveProperty ( 'code ' ,  123 ) ; 
52+             expect ( json ) . toHaveProperty ( 'statusCode ' ,  123 ) ; 
5353            expect ( json ) . toHaveProperty ( 'cause' ,  {  eg : 'example'  } ) ; 
5454            expect ( json ) . toHaveProperty ( 'fileName' ) ; 
5555            expect ( json ) . toHaveProperty ( 'line' ) ; 
0 commit comments