This repository has been archived on 2025-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
parandum/src/App.test.js
Matthew Grove 1bb0788570 Update GH actions to only install necessary dependencies
Only install dependencies required for hosting, not cloud functions
2021-09-01 20:05:38 +01:00

10 lines
273 B
JavaScript

import React from 'react';
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});