text: import { render } from '@testing-library/react';
  import React from 'react';
  import List from '../../components/Channels/List';
  
  describe('Channel List', () => {
    const minProps = {
      appID: '123',
      channels: [
        {
          id: 'ABC',
          name: 'main',
          color: '#777777',
          created_ts: '2018-10-16T21:07:56.819939+05:30',
          application_id: 'DEF',
          package_id: 'XYZ',
          package: {
            id: 'PACK_ID',
            type: 4,
            version: '1.11.3',
            url: 'https://github.com/kinvolk',
            filename: '',
            description: '',
            size: '',
            hash: '',
            created_ts: '2019-07-18T20:10:39.163326+05:30',
            channels_blacklist: null,
            application_id: 'df1c8bbb-f525-49ee-8c94-3ca548b42059',
            flatcar_action: null,
            arch: 0,
          },
          arch: 0,
        },
      ],
    };
    it('should render channel list correctly with data', () => {
      const { asFragment } = render(<List {...minProps} />);
      expect(asFragment).toMatchSnapshot();
    });
  });
  