Add vscode helper and fix formatting in react app

This commit is contained in:
Saoud Rizwan
2024-07-06 01:45:54 -04:00
parent 4bfc2a5bc4
commit 571c7d217e
11 changed files with 263 additions and 109 deletions

View File

@@ -1,9 +1,9 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
import App from './App';
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();
});
test("renders learn react link", () => {
render(<App />)
const linkElement = screen.getByText(/learn react/i)
expect(linkElement).toBeInTheDocument()
})