Skip to content

Commit

Permalink
fix: typescript issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasGross committed Jan 7, 2025
1 parent 8284819 commit 0b2f33e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/unit/useReservableFromAnotherLibrary.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it, vi, beforeAll } from "vitest";
import { combineReducers, configureStore } from "@reduxjs/toolkit";
import { Provider } from "react-redux";
import React, { ReactElement, act } from "react";
import React, { ReactNode, act } from "react";
import { renderHook } from "@testing-library/react";
import { QueryClient, QueryClientProvider } from "react-query";
import useReservableFromAnotherLibrary from "../../core/utils/useReservableFromAnotherLibrary";
Expand Down Expand Up @@ -33,7 +33,7 @@ const mockedManifestations = [
}
] as unknown as Manifestation[];

const Wrapper = ({ children }: { children: ReactElement }) => (
const Wrapper = ({ children }: { children: ReactNode }) => (
<QueryClientProvider client={queryClient}>
<Provider store={store}>{children}</Provider>
</QueryClientProvider>
Expand Down

0 comments on commit 0b2f33e

Please sign in to comment.