X-Git-Url: https://git.jacobcasper.com/?p=perfect-gift.git;a=blobdiff_plain;f=frontend%2Fsrc%2FApp.test.js;fp=frontend%2Fsrc%2FApp.test.js;h=4db7ebc25c2d066cd254805af5dda1ed1d2bc819;hp=0000000000000000000000000000000000000000;hb=05b9ad642fae36eb7ef5ebbae1fb45396bab7270;hpb=6a60d93dfb74c8f12c1e6881a74ab0fdcbfbb932 diff --git a/frontend/src/App.test.js b/frontend/src/App.test.js new file mode 100644 index 0000000..4db7ebc --- /dev/null +++ b/frontend/src/App.test.js @@ -0,0 +1,9 @@ +import React from 'react'; +import { render } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + const { getByText } = render(); + const linkElement = getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +});