From e04d6e6330c8b9fbaad5db4c54f749caf525330d Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 18 Jul 2024 23:23:31 +0530 Subject: [PATCH] chore: test --- src/App.test.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/App.test.tsx diff --git a/src/App.test.tsx b/src/App.test.tsx new file mode 100644 index 00000000..2a68616d --- /dev/null +++ b/src/App.test.tsx @@ -0,0 +1,9 @@ +import React from 'react'; +import { render, screen } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + render(); + const linkElement = screen.getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +});