mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-10-14 09:25:17 +02:00
refactor(starter): upgrade and move to typescript
This commit is contained in:
@@ -17,11 +17,8 @@ describe("Sidebar", () => {
|
||||
mockedUseStaticQuery.mockReturnValue(mocks.siteMetadata);
|
||||
});
|
||||
|
||||
const props = {
|
||||
isIndex: true,
|
||||
};
|
||||
|
||||
it("renders correctly", () => {
|
||||
const props = { isIndex: true };
|
||||
const tree = renderer.create(<Sidebar {...props} />).toJSON();
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
|
Reference in New Issue
Block a user