Fix App test
Change-Id: Iacaa6f5e70925b857f24554e6aba64234b1cae44
This commit is contained in:
parent
f6e193c51c
commit
37e1fcc96d
@ -1,9 +1,10 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { render } from "@testing-library/react";
|
import { render, screen } from "@testing-library/react";
|
||||||
import App from "./App";
|
import App from "./App";
|
||||||
|
|
||||||
describe("App", () => {
|
describe("App", () => {
|
||||||
it("renders", () => {
|
it("renders", async () => {
|
||||||
render(<App />);
|
render(<App />);
|
||||||
|
await screen.findAllByText("Welcome to Synapse-admin");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user