Skip to content

Commit

Permalink
uodate dependencies and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amitguptagwl committed Feb 10, 2019
1 parent c25a1e6 commit df80733
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ lib
.vscode
.nyc_output
tasks
static/contributors.js
static/contributors.js
savepoints
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anumargak",
"version": "2.1.0",
"version": "2.2.0",
"description": "Amazing fast multipurpose simple to use web/ HTTP router",
"main": "./src/letsRoute.js",
"scripts": {
Expand Down Expand Up @@ -31,9 +31,9 @@
],
"devDependencies": {
"benchmark": "^2.1.4",
"find-my-way": "^1.17.0",
"jasmine": "^3.2.0",
"jasmine-core": "^3.2.1",
"find-my-way": "^1.18.1",
"jasmine": "^3.3.1",
"jasmine-core": "^3.3.0",
"mock-req": "^0.2.0",
"mock-res": "^0.5.0",
"nyc": "^11.9.0"
Expand Down
4 changes: 2 additions & 2 deletions tests/event_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("Anumargak events", function () {
headers: {}
}

router.lookup(req);
router.lookupWithEvents(req);

});
it("should emit not-found and request event when the route is not registered", function (done) {
Expand Down Expand Up @@ -72,7 +72,7 @@ describe("Anumargak events", function () {
headers: {}
}

router.lookup(req);
router.lookupWithEvents(req);
});
it("should throw error for unsupported events", function () {
var router = Anumargak();
Expand Down

0 comments on commit df80733

Please sign in to comment.