phodal/growth

View on GitHub
__tests__/containers/community/forum/forumDetail.test.js

Summary

Maintainability
A
1 hr
Test Coverage
import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';
import ForumDetail from '../../../../src/containers/community/forum/ForumDetail';

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

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