App.test.js 228 B

123456789
  1. import React from 'react';
  2. import App from './App';
  3. import renderer from 'react-test-renderer';
  4. it('renders without crashing', () => {
  5. const rendered = renderer.create(<App />).toJSON();
  6. expect(rendered).toBeTruthy();
  7. });