Skip to content

Commit ae98f5a

Browse files
committed
Remove test
1 parent 8dcd9ae commit ae98f5a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/ts/frontend/test/Connect.test.ts

-15
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
FluxConnection,
1515
ForbiddenResponseError,
1616
UnauthorizedResponseError,
17-
type FluxConnection,
1817
} from '../src/index.js';
1918
import {
2019
clearSpringCsrfMetaTags,
@@ -635,19 +634,5 @@ describe('@hilla/frontend', () => {
635634
expect(called).to.equal(1);
636635
});
637636
});
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-
});
652637
});
653638
});

0 commit comments

Comments
 (0)