From f7e6a455cc74eb0b1163878eb52aac7442548c9d Mon Sep 17 00:00:00 2001 From: Rob Campbell Date: Mon, 11 Nov 2024 22:37:36 -0500 Subject: [PATCH] remove extra ready --- test/decorator.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/decorator.js b/test/decorator.js index 580095af..99781874 100644 --- a/test/decorator.js +++ b/test/decorator.js @@ -40,8 +40,6 @@ test('decorator can be overridden', async (t) => { await fastify.register(fastifySwagger, { decorator: 'customSwaggerDecorator' }) - await fastify.ready() - await fastify.ready() t.ok(fastify.customSwaggerDecorator()) })