diff options
author | 2021-09-05 15:34:35 -0700 | |
---|---|---|
committer | 2021-09-05 15:34:35 -0700 | |
commit | ac123f23719e3212ec1a6a16e0b1f915d1c175b4 (patch) | |
tree | 69cae12d7f4bb60f390d331adcfccbf2b52cd2c6 /examples/hello-create-react-app/src/App.test.js | |
parent | 48dadc17f69a5be905ebe28e811a9ad8dfc82714 (diff) | |
download | bun-ac123f23719e3212ec1a6a16e0b1f915d1c175b4.tar.gz bun-ac123f23719e3212ec1a6a16e0b1f915d1c175b4.tar.zst bun-ac123f23719e3212ec1a6a16e0b1f915d1c175b4.zip |
create-react-app
Former-commit-id: 33647ef65cbac1c89c16a8b81dfa7de0fad5af3e
Diffstat (limited to 'examples/hello-create-react-app/src/App.test.js')
-rw-r--r-- | examples/hello-create-react-app/src/App.test.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/hello-create-react-app/src/App.test.js b/examples/hello-create-react-app/src/App.test.js new file mode 100644 index 000000000..1f03afeec --- /dev/null +++ b/examples/hello-create-react-app/src/App.test.js @@ -0,0 +1,8 @@ +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(); +}); |