-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: rm snapshot test, only check that App doesnt crash
- Loading branch information
1 parent
be63651
commit e4f8445
Showing
2 changed files
with
3 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
}); |
This file was deleted.
Oops, something went wrong.