Remove redundant async notation from several top languages card tests (#2767)

This commit is contained in:
Alexandr Garbuzov 2023-06-05 13:14:33 +03:00 committed by GitHub
parent 1e0183d202
commit 14fe4cf1db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -797,7 +797,7 @@ describe("Test renderTopLanguages", () => {
expect(document.querySelector("rect")).toHaveAttribute("rx", "4.5");
});
it("should render langs with specified langs_count", async () => {
it("should render langs with specified langs_count", () => {
const options = {
langs_count: 1,
};
@ -807,7 +807,7 @@ describe("Test renderTopLanguages", () => {
);
});
it("should render langs with specified langs_count even when hide is set", async () => {
it("should render langs with specified langs_count even when hide is set", () => {
const options = {
hide: ["HTML"],
langs_count: 2,