hunk.code_window:   marginRight: '12px',
     display: 'flex',
   });
  
hunk.labels: keep keep add
hunk.after_edit: export const footer = style({
     display: 'flex',
     justifyContent: 'center',
     alignItems: 'center',
     paddingBottom: '20px',
   });
hunk.file_path: packages/frontend/core/src/components/affine/setting-modal/style.css.ts
hunk.type: add
file: import { describe, expect, test } from 'vitest';
  
  import { isValidIPAddress } from '../is-valid-ip-address.js';
  
  describe('isValidIpAddress', () => {
    test('should return true for valid IP address', () => {
      ['115.42.150.37', '192.168.0.1', '110.234.52.124', 'localhost'].forEach(
        ip => {
          expect(isValidIPAddress(ip)).toBe(true);
        }
      );
    });
  
    test('should return false for invalid IP address', () => {
      [
        '210.110',
        '255',
        'y.y.y.y',
        '255.0.0.y',
        '666.10.10.20',
        '4444.11.11.11',
        '33.3333.33.3',
      ].forEach(ip => {
        expect(isValidIPAddress(ip)).toBe(false);
      });
    });
  });
  