File tree 1 file changed +0
-15
lines changed
packages/ts/frontend/test
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
14
14
FluxConnection ,
15
15
ForbiddenResponseError ,
16
16
UnauthorizedResponseError ,
17
- type FluxConnection ,
18
17
} from '../src/index.js' ;
19
18
import {
20
19
clearSpringCsrfMetaTags ,
@@ -635,19 +634,5 @@ describe('@hilla/frontend', () => {
635
634
expect ( called ) . to . equal ( 1 ) ;
636
635
} ) ;
637
636
} ) ;
638
-
639
- describe ( 'atmosphere configuration' , ( ) => {
640
- let client : ConnectClient ;
641
- let fluxConnection : FluxConnection ;
642
-
643
- it ( 'should pass custom configuration to flux connection' , ( ) => {
644
- ( window as any ) . Vaadin = { featureFlags : { hillaPush : true } } ; // Remove when removing feature flag
645
- client = new ConnectClient ( { atmosphereOptions : { fallbackMethod : 'fake' } } ) ;
646
- ( client as any ) . _fluxConnection = new FluxConnection ( '/connect' ) ;
647
- expect ( ( client as any ) . _fluxConnection ) . to . equal ( 'abc' ) ;
648
- ( { fluxConnection } = client ) ;
649
- expect ( subscribeStub . lastCall . firstArg ) . to . have . property ( 'fallbackMethod' ) . which . equals ( 'fake' ) ;
650
- } ) ;
651
- } ) ;
652
637
} ) ;
653
638
} ) ;
You can’t perform that action at this time.
0 commit comments