Skip to content

Commit

Permalink
fix(test): deflake csp test
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Dec 23, 2023
1 parent 5a78c10 commit 3bdb28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test('fastify will response swagger csp', async (t) => {

await fastify.register(fastifySwagger)
await fastify.register(fastifySwaggerUi)
fastify.register(fastifyHelmet, instance => {
await fastify.register(fastifyHelmet, instance => {
return {
contentSecurityPolicy: {
directives: {
Expand Down

0 comments on commit 3bdb28d

Please sign in to comment.