node-go/play-node-go/src/App.test.js

10 lines
269 B
JavaScript
Raw Normal View History

2020-01-07 20:19:11 +00:00
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
test('renders app without crashing', () => {
const { getByTestId } = render(<App />);
const AppDiv = getByTestId('App');
expect(AppDiv).toBeInTheDocument();
2020-01-07 20:19:11 +00:00
});