Spaces:
Paused
Paused
Download web/src/App.test.tsx from Mythus/Teledrive2: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/Mythus/Teledrive2/resolve/main/web/src/App.test.tsx
- Command line
-
hf download hf://spaces/Mythus/Teledrive2/web/src/App.test.tsx
-
curl -L -o App.test.tsx https://huggingface.co/spaces/Mythus/Teledrive2/resolve/main/web/src/App.test.tsx
266 Bytes
| 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() | |
| }) | |