@@ -12,8 +12,8 @@ import { Path } from '@athenna/common'
1212import { Http } from '#src/applications/Http'
1313import { CommanderHandler } from '@athenna/artisan'
1414import { Log , LoggerProvider } from '@athenna/logger'
15+ import { HttpServerProvider , HttpRouteProvider , Server } from '@athenna/http'
1516import { Test , type Context , BeforeEach , AfterEach , Mock } from '@athenna/test'
16- import { HttpServerProvider , HttpRouteProvider , Server , HttpKernel } from '@athenna/http'
1717
1818export default class HttpTest {
1919 @BeforeEach ( )
@@ -82,17 +82,6 @@ export default class HttpTest {
8282 assert . calledOnceWith ( Server . listen , { host : '127.0.0.1' , port : 3000 } )
8383 }
8484
85- @Test ( )
86- public async shouldBeAbleToBootAHttpApplicationWithTracingPluginRegistered ( { assert } : Context ) {
87- Mock . when ( HttpKernel . prototype , 'registerRTracer' ) . resolve ( undefined )
88- Server . when ( 'listen' ) . resolve ( undefined )
89-
90- await Http . boot ( { trace : true } )
91-
92- assert . calledOnceWith ( Server . listen , { host : '127.0.0.1' , port : 3000 } )
93- assert . calledOnceWith ( HttpKernel . prototype . registerRTracer , true )
94- }
95-
9685 @Test ( )
9786 public async shouldBeAbleToBootAHttpApplicationAndRegisterTheRouteFile ( { assert } : Context ) {
9887 Server . when ( 'listen' ) . resolve ( undefined )
0 commit comments