mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
9 lines
262 B
TypeScript
9 lines
262 B
TypeScript
import React from "react";
|
|
import { render } from "@testing-library/react";
|
|
import App from "./App";
|
|
|
|
test("renders link", () => {
|
|
const { getByText } = render(<App />);
|
|
const linkElement = getByText(/decks/i);
|
|
expect(linkElement).toBeInTheDocument();
|
|
});
|