Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad committed Jan 16, 2021
1 parent 641c061 commit 8c3c5de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"http-errors": "^1.8.0"
},
"devDependencies": {
"@types/node": "^14.14.6",
"fastify": "^3.7.0",
"@types/node": "^14.14.21",
"fastify": "^3.10.1",
"pre-commit": "^1.2.2",
"sinon": "^9.2.1",
"sinon": "^9.2.3",
"snazzy": "^9.0.0",
"standard": "^16.0.1",
"tap": "^14.10.8",
"tsd": "^0.13.1",
"typescript": "^4.0.5"
"standard": "^16.0.3",
"tap": "^14.11.0",
"tsd": "^0.14.0",
"typescript": "^4.1.3"
}
}
2 changes: 1 addition & 1 deletion test/casbinRest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('throws if no casbin decorator exists', t => {
fastify.register(plugin)

fastify.ready(err => {
t.is(err.message, "The decorator 'casbin' is not present in Fastify")
t.is(err.message, "The decorator 'casbin' required by 'fastify-casbin-rest' is not present in Fastify")

fastify.close()
})
Expand Down

0 comments on commit 8c3c5de

Please sign in to comment.