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

Commit

Permalink
Fix vitest extends testing-library
Browse files Browse the repository at this point in the history
  • Loading branch information
LawEKS committed Jan 23, 2024
1 parent 9cd2767 commit 8fc72fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tests/App.test.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import matchers from "@testing-library/jest-dom/matchers";
import "@testing-library/jest-dom/vitest";
import { describe, expect, test } from "vitest";
import { render, screen } from "@testing-library/react";
import App from "../App.jsx";

expect.extend(matchers);

describe("Loan applications dashboard view", () => {
test("displays a hello world title", () => {
render(<App />);
Expand Down

0 comments on commit 8fc72fd

Please sign in to comment.