15 lines
310 B
TypeScript
15 lines
310 B
TypeScript
import { render, screen } from "@testing-library/react-native";
|
|
import React from "react";
|
|
|
|
import App from "../src/App";
|
|
|
|
jest.useFakeTimers();
|
|
|
|
describe("<App />", () => {
|
|
it("renders title", async () => {
|
|
render(<App />);
|
|
|
|
expect(screen.getByText("Welcome to Flaredown")).toBeDefined();
|
|
});
|
|
});
|