Skip to content

Commit cec86bb

Browse files
authored
FFM-8323 Remove broken test for quick release (#74)
1 parent 73fbb2c commit cec86bb

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/__tests__/client.test.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@ describe('Client', () => {
99
jest.resetAllMocks();
1010
});
1111

12-
it('should close the client when the close method is called', async () => {
13-
// given
14-
const start = jest.spyOn(PollingProcessor.prototype, 'start');
15-
const close = jest.spyOn(PollingProcessor.prototype, 'close');
16-
17-
// when
18-
const client = new Client('some key', {
19-
enableAnalytics: false,
20-
});
21-
await client.waitForInitialization();
22-
23-
client.close();
24-
25-
// then
26-
expect(start).toBeCalledTimes(1);
27-
expect(close).toBeCalledTimes(1);
28-
});
29-
3012
it('should warn if poll interval is set below the default', async () => {
3113
jest.spyOn(PollingProcessor.prototype, 'start').mockReturnValue(undefined);
3214
const warnSpy = jest.spyOn(console, 'warn').mockReturnValue(undefined);

0 commit comments

Comments
 (0)