Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
fix: ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
niloofar-deriv committed Oct 6, 2023
1 parent 72f7924 commit a7c1d3d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/common/loading/__test__/loading.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Test for passing the github actions
import { describe, expect, test } from "vitest";
import { render, screen } from "@testing-library/react";
import Loading from "..";

describe("Loading component", () =>
test("should show loading text", () => {
render(<Loading />);
expect(screen.getByText("loading")).toBeInTheDocument();
}));

0 comments on commit a7c1d3d

Please sign in to comment.