File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
3
3
node_js :
4
- - 4.0
5
- - 4
6
- - 5
4
+ - " 4"
5
+ - " 6"
7
6
8
7
sudo : false
9
-
Original file line number Diff line number Diff line change 12
12
"node" : " >=4.0.0"
13
13
},
14
14
"dependencies" : {
15
- "hoek" : " 3 .x.x"
15
+ "hoek" : " 4 .x.x"
16
16
},
17
17
"devDependencies" : {
18
18
"code" : " 2.x.x" ,
19
- "lab" : " 7 .x.x" ,
20
- "markdown-toc" : " 0.11 .x"
19
+ "lab" : " 10 .x.x" ,
20
+ "markdown-toc" : " 0.12 .x"
21
21
},
22
22
"scripts" : {
23
23
"test" : " lab -a code -t 100 -L" ,
24
24
"test-cov-html" : " lab -a code -r html -o coverage.html -L" ,
25
25
"toc" : " node generate-toc.js" ,
26
- "version " : " npm run toc && git add README.md "
26
+ "postversion " : " npm run toc && git commit -a --amend --no-edit "
27
27
},
28
28
"license" : " BSD-3-Clause"
29
29
}
Original file line number Diff line number Diff line change @@ -582,11 +582,11 @@ describe('internal()', () => {
582
582
it ( 'returns an error with composite message' , ( done ) => {
583
583
584
584
try {
585
- JSON . parse ( '{' ) ;
585
+ x . foo ( ) ;
586
586
}
587
587
catch ( err ) {
588
588
const boom = Boom . internal ( 'Someting bad' , err ) ;
589
- expect ( boom . message ) . to . equal ( 'Someting bad: Unexpected end of input ' ) ;
589
+ expect ( boom . message ) . to . equal ( 'Someting bad: x is not defined ' ) ;
590
590
expect ( boom . isServer ) . to . be . true ( ) ;
591
591
done ( ) ;
592
592
}
You can’t perform that action at this time.
0 commit comments