phodal/growth

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

Summary

Maintainability
A
2 hrs
Test Coverage
import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';
import Discover from '../../../src/containers/discover/Discover';

describe('test user center', () => {
  it('renders correctly', () => {
    const tree = renderer.create(
      <Discover />,
    );

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