Skip to content

Commit

Permalink
test: rm snapshot test, only check that App doesnt crash
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-anderson committed Feb 20, 2024
1 parent be63651 commit e4f8445
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 41 deletions.
6 changes: 3 additions & 3 deletions src/app/App.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import renderer from "react-test-renderer";
import { it } from "vitest";
import { App } from "./App";

it("renders correctly", () => {
test("renders without crashing", () => {
// This test simply checks that the App component can render without crashing
const tree = renderer.create(<App />).toJSON();
expect(tree).toMatchSnapshot();
expect(tree).toBeTruthy();
});
38 changes: 0 additions & 38 deletions src/app/__snapshots__/App.test.tsx.snap

This file was deleted.

0 comments on commit e4f8445

Please sign in to comment.