react18-tools/turborepo-template

View on GitHub
lib/src/client/loader-container/loader-container.test.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { cleanup, render } from "@testing-library/react";
import { afterEach, describe, test } from "vitest";
import { LoaderContainer } from "./loader-container";

describe.concurrent("loader-container", () => {
  afterEach(cleanup);

  test("check if renders without erros", () => {
    render(<LoaderContainer />);
  });

  test("check if renders without erros", () => {
    render(<LoaderContainer loading />);
  });
});