From 823d81b17cce8952d5d9e02fd72ca9580eb049f4 Mon Sep 17 00:00:00 2001 From: Slawek Figiel Date: Fri, 6 Dec 2024 19:41:19 +0100 Subject: [PATCH] [#459] Fix linter issues --- .../subnets-table.component.spec.ts | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/webui/src/app/subnets-table/subnets-table.component.spec.ts b/webui/src/app/subnets-table/subnets-table.component.spec.ts index 2a0a2f17..34b059d4 100644 --- a/webui/src/app/subnets-table/subnets-table.component.spec.ts +++ b/webui/src/app/subnets-table/subnets-table.component.spec.ts @@ -204,24 +204,19 @@ describe('SubnetsTableComponent', () => { expect(component.hasAssignedMultipleSubnetNames(subnet)).toBeFalse() // Multiple local subnets with the same name. - subnet = { localSubnets: [ - { userContext: { 'subnet-name': 'foo' } }, - { userContext: { 'subnet-name': 'foo' } } - ]} + subnet = { + localSubnets: [{ userContext: { 'subnet-name': 'foo' } }, { userContext: { 'subnet-name': 'foo' } }], + } expect(component.hasAssignedMultipleSubnetNames(subnet)).toBeFalse() // Multiple subnets with different names. - subnet = { localSubnets: [ - { userContext: { 'subnet-name': 'foo' } }, - { userContext: { 'subnet-name': 'bar' } } - ]} + subnet = { + localSubnets: [{ userContext: { 'subnet-name': 'foo' } }, { userContext: { 'subnet-name': 'bar' } }], + } expect(component.hasAssignedMultipleSubnetNames(subnet)).toBeTrue() // Multiple subnets. One with a name, one without. - subnet = { localSubnets: [ - { userContext: { 'subnet-name': 'foo' } }, - { userContext: {} } - ]} + subnet = { localSubnets: [{ userContext: { 'subnet-name': 'foo' } }, { userContext: {} }] } expect(component.hasAssignedMultipleSubnetNames(subnet)).toBeTrue() }) })