phodal/growth

View on GitHub
__tests__/containers/discover/toolbox-list/toolBoxList.test.js

Summary

Maintainability
A
1 hr
Test Coverage
import 'react-native';
import React, {} from 'react';
import renderer from 'react-test-renderer';
import ToolBoxList from '../../../../src/containers/discover/toolbox-list/ToolBoxList';
import TIPS from '../../../../src/constants/TIPS';

it('renders correctly', () => {
  const toolBoxList = renderer.create(
    <ToolBoxList dialogContent={TIPS[0]} />,
  );
  const toolBoxListJson = toolBoxList.toJSON();
  expect(toolBoxListJson).toMatchSnapshot();
});