node-go/play-node-go/src/App.test.js
2020-01-15 18:13:42 -08:00

9 lines
269 B
JavaScript

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();
});