projects
/
squeep-api-dingus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update eslint config for latest version
[squeep-api-dingus]
/
test
/
lib
/
router.js
diff --git
a/test/lib/router.js
b/test/lib/router.js
index bcb45f2d00bbfacad8bb33c5fe593cbfce6183b5..488d5ceec03ceb5f006230999ce335cf8e2d111c 100644
(file)
--- a/
test/lib/router.js
+++ b/
test/lib/router.js
@@
-260,7
+260,7
@@
describe('Router', function () {
router.on('FLARP', urlPath, stubHandler);
assert.fail('expected an exception');
} catch (e) {
- assert
.strictEqual(e.name, 'DingusError'
);
+ assert
(e instanceof DingusError
);
assert.strictEqual(e.message, 'invalid method \'FLARP\'');
}
});