dbgate/packages/web/src/App.test.js

12 lines
296 B
JavaScript
Raw Normal View History

2020-01-09 21:30:53 +00:00
// @ts-nocheck
2019-12-24 16:48:25 +00:00
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});