Skip to content

Commit

Permalink
chore: remove unused import and add testing library types to tsconfig…
Browse files Browse the repository at this point in the history
….json
  • Loading branch information
amalv committed Dec 17, 2023
1 parent 47fd3cd commit 2cc90b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "@testing-library/jest-dom";
import { render, screen } from "@testing-library/react";
import { BookCard } from "./BookCard";
import { Book } from "../../../../data/books";
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
"types": ["node", "jest", "@testing-library/jest-dom"],

/* Bundler mode */
"moduleResolution": "bundler",
Expand Down

0 comments on commit 2cc90b3

Please sign in to comment.