Spaces:
Sleeping
Sleeping
Download task-management-ui/src/App.test.js from ishans24/microservices: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/ishans24/microservices/resolve/main/task-management-ui/src/App.test.js
- Command line
-
hf download hf://spaces/ishans24/microservices/task-management-ui/src/App.test.js
-
curl -L -o App.test.js https://huggingface.co/spaces/ishans24/microservices/resolve/main/task-management-ui/src/App.test.js
280 Bytes
| import { render, screen } from '@testing-library/react'; | |
| import App from './App'; | |
| test('renders login screen by default', async () => { | |
| render(<App />); | |
| const heading = await screen.findByRole('heading', { name: /welcome back/i }); | |
| expect(heading).toBeInTheDocument(); | |
| }); | |