From 921f3aadc9270cd194679a50689716f2ce87236c Mon Sep 17 00:00:00 2001 From: ShareVB Date: Sun, 12 Jan 2025 12:46:06 +0100 Subject: [PATCH] fix: sonar --- src/utils/ip.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/ip.test.ts b/src/utils/ip.test.ts index 34c1f64e0..86d7f69a0 100644 --- a/src/utils/ip.test.ts +++ b/src/utils/ip.test.ts @@ -23,11 +23,11 @@ describe('ipv4/6 util', () => { }); // NOSONAR describe('getSubnets', () => { it('returns subnets', () => { - expect(getSubnets('1.1.1.1/1')).to.eql([ + expect(getSubnets('1.1.1.1/1')).to.eql([ // NOSONAR '0.0.0.0/1', // NOSONAR '128.0.0.0/1', // NOSONAR ]); // NOSONAR - expect(getSubnets('1.1.1.1/6')).to.eql([ + expect(getSubnets('1.1.1.1/6')).to.eql([ // NOSONAR '0.0.0.0/6', // NOSONAR '4.0.0.0/6', // NOSONAR '8.0.0.0/6', // NOSONAR @@ -94,7 +94,7 @@ describe('ipv4/6 util', () => { '252.0.0.0/6', // NOSONAR ]); // NOSONAR expect(getSubnets('1.1.1.1/8')).to.eql([]); // NOSONAR - expect(getSubnets('1.1.1.1/11')).to.eql([ + expect(getSubnets('1.1.1.1/11')).to.eql([ // NOSONAR '1.0.0.0/11', // NOSONAR '1.32.0.0/11', // NOSONAR '1.64.0.0/11', // NOSONAR @@ -105,7 +105,7 @@ describe('ipv4/6 util', () => { '1.224.0.0/11', // NOSONAR ]); // NOSONAR expect(getSubnets('172.16.2.2/16')).to.eql([]); // NOSONAR - expect(getSubnets('172.16.2.2/26')).to.eql([ + expect(getSubnets('172.16.2.2/26')).to.eql([ // NOSONAR '172.16.2.0/26', // NOSONAR '172.16.2.64/26', // NOSONAR '172.16.2.128/26', // NOSONAR