diff --git a/package.json b/package.json index e7382c2..e1a01eb 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/test/casbinRest.test.js b/test/casbinRest.test.js index 3693fd8..4fee20e 100644 --- a/test/casbinRest.test.js +++ b/test/casbinRest.test.js @@ -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() })