phodal/growth

View on GitHub
__tests__/containers/comingSoon.test.js

Summary

Maintainability
A
1 hr
Test Coverage
import 'react-native';
import React from 'react';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
import ComingSoonView from '../../src/containers/ComingSoonView';

it('renders correctly', () => {
  // eslint-disable-next-line no-unused-vars
  const tree = renderer.create(
    <ComingSoonView skillId={1} />,
  );

  const treeJson = tree.toJSON();
  expect(treeJson).toMatchSnapshot();
});