Skip to content

Commit f69c6d4

Browse files
committed
test: remove trace option test
1 parent b4efa5a commit f69c6d4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/unit/kernels/HttpKernelTest.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -298,15 +298,6 @@ export default class HttpKernelTest {
298298
assert.isFalse(Server.fastify.hasPlugin('cls-rtracer'))
299299
}
300300

301-
@Test()
302-
public async shouldNotRegisterTheFastifyRTracerPluginIfTheTraceOptionsIsSetToFalse({ assert }: Context) {
303-
const { HttpKernel } = await import(`../../../src/kernels/HttpKernel.js?v=${Math.random()}`)
304-
const kernel = new HttpKernel()
305-
await kernel.registerRTracer(false)
306-
307-
assert.isFalse(Server.fastify.hasPlugin('cls-rtracer'))
308-
}
309-
310301
@Test()
311302
@Cleanup(() => Config.set('http.rTracer.enabled', true))
312303
public async shouldNotRegisterTheFastifyRTracerPluginIfTheConfigurationIsDisabled({ assert }: Context) {

0 commit comments

Comments
 (0)