Fakultas Ilmu Komputer UI

Footer-test.jsx 327 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
import React from 'react';
import ReactTestUtils from 'react-addons-test-utils';
import Footer from '../../components/Footer';

describe('Footer', () => {

  it('renders without problem', () => {
    const footer = ReactTestUtils.renderIntoDocument(
      <Footer params={{ id: 1 }} />);
    expect(footer).to.exist;
  });
});