text: import React from 'react';
  import { shallow } from 'enzyme';
  
  import CollectionDetails from './CollectionDetails';
  
  describe('CollectionDetails component', () => {
    const collection = {
      id: 1,
      title: 'title',
      slug: 'slug',
      price: 'price',
      status: 'status',
      created_at: '2020-12-12',
    };
  
    it('should render the component', () => {
      const component = shallow(
        <CollectionDetails
          collection={collection}
          currencyCode={'INR'}
          collectionTags={[{ id: 1, title: 'tag1' }]}
        />,
      );
      expect(component).toMatchSnapshot();
    });
  });
  