{"size": 696, "ext": "js", "max_stars_repo_path": "dashboard-ui/test/component/queue/queueCRUD.test.js", "max_stars_repo_name": "ScaledByDesign/cloudboost", "max_stars_repo_stars_event_min_datetime": "2016-02-08T14:34:45.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-30T09:39:48.000Z", "max_issues_repo_path": "dashboard-ui/test/component/queue/queueCRUD.test.js", "max_issues_repo_name": "ScaledByDesign/cloudboost", "max_issues_repo_issues_event_min_datetime": "2016-02-12T07:01:06.000Z", "max_issues_repo_issues_event_max_datetime": "2021-01-13T13:37:43.000Z", "max_forks_repo_path": "dashboard-ui/test/component/queue/queueCRUD.test.js", "max_forks_repo_name": "ScaledByDesign/cloudboost", "max_forks_repo_forks_event_min_datetime": "2016-02-11T17:08:29.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-16T12:00:16.000Z"}
{"max_stars_count": 1586, "max_issues_count": 187, "max_forks_count": 220, "avg_line_length": 23.2, "max_line_length": 69, "alphanum_fraction": 0.5431034483}
import React from 'react';
import {QueueCRUD} from '../../../app/components/queue/queueCRUD.js';

describe('<QueueCRUD />', () => {
  let wrapper;
  before(() => {
    const props = {
      deleteQueue: sinon.spy(),
      deleteItemFromQueue: sinon.spy(),
      selectedQueue: {
        name: util.makeString()
      },
      allQueues: [],
      selectQueue: sinon.spy(),
      name: util.makeString(),
      selectedQueueItems: [{
        message: util.makeString(),
        expires: null,
        timeout: '',
        delay: ''
      }]
    };
    wrapper = shallow(<QueueCRUD {...props} />, themeContext);
  });

  it('Component is rendering', () => {
    expect(wrapper).to.exist;
  });

});