UNPKG
git-pair
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
0.0.1
Git pair programming tools
github.com/peterjwest/git-pair
peterjwest/git-pair
git-pair
/
test
/
lib
/
handle-error.js
8 lines
(6 loc)
•
228 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
handleError =
require
(
'../../lib/handle-error'
);
handleError
(
function
(
) {},
function
(
a, b, c
) {
if
(a !==
'a'
)
throw
'Error'
;
if
(b !==
'b'
)
throw
'Error'
;
if
(c !==
'c'
)
throw
'Error'
; })(
null
,
'a'
,
'b'
,
'c'
);