From 88ad2e7fc29d4109faa25cd05f034665ab3025e7 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 1 Nov 2024 12:01:58 +0100 Subject: [PATCH] Fix serversReducer test --- test/servers/reducers/servers.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/servers/reducers/servers.test.ts b/test/servers/reducers/servers.test.ts index 025a44a1..fcb4642a 100644 --- a/test/servers/reducers/servers.test.ts +++ b/test/servers/reducers/servers.test.ts @@ -105,15 +105,6 @@ describe('serversReducer', () => { expect(payload).toEqual(list); }); - - it('generates an id for every provided server if they do not have it', () => { - const servers = Object.values(list).map(({ name, autoConnect, url, apiKey }) => ( - { name, autoConnect, url, apiKey } - )); - const { payload } = createServers(servers); - - expect(Object.values(payload).every(({ id }) => !!id)).toEqual(true); - }); }); describe('setAutoConnect', () => {