Skip to content

Commit

Permalink
update (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday authored and jsumners committed Jul 2, 2024
1 parent 972708e commit 8807d09
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
test:
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.1.0
with:
license-check: true
lint: true
2 changes: 0 additions & 2 deletions .taprc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
check-coverage: true

files:
- test/**/*.test.js
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
},
"homepage": "https://github.com/fastify/fastify-bearer-auth#readme",
"devDependencies": {
"@fastify/auth": "^4.0.0",
"@fastify/pre-commit": "^2.0.2",
"@types/node": "^20.1.0",
"fastify": "^4.0.0-rc.2",
"standard": "^17.0.0",
"tap": "^16.0.0",
"@fastify/auth": "^4.6.1",
"@fastify/pre-commit": "^2.1.0",
"@types/node": "^20.12.7",
"fastify": "^4.26.2",
"standard": "^17.1.0",
"tap": "^18.7.2",
"tsd": "^0.31.0"
},
"dependencies": {
"@fastify/error": "^4.0.0",
"fastify-plugin": "^4.0.0"
"fastify-plugin": "^4.5.1"
},
"pre-commit": [
"lint",
Expand Down
2 changes: 1 addition & 1 deletion test/spec-compliance-invalid.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ test('throws FST_BEARER_AUTH_INVALID_SPEC when invalid value for specCompliance

const fastify = Fastify()

t.rejects(() => fastify.register(plugin, { keys: new Set(['123456']), specCompliance: 'invalid' }), new FST_BEARER_AUTH_INVALID_SPEC())
t.rejects(async () => fastify.register(plugin, { keys: new Set(['123456']), specCompliance: 'invalid' }), new FST_BEARER_AUTH_INVALID_SPEC())
})

0 comments on commit 8807d09

Please sign in to comment.