chartjs-demo/src/App.test.tsx

10 lines
283 B
TypeScript
Raw Normal View History

import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
const { getByText } = render(<App />);
2020-10-15 10:33:54 +07:00
const linkElement = getByText(/hello, CUBETIQ/i);
expect(linkElement).toBeInTheDocument();
});