We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f85d183 commit a7f49efCopy full SHA for a7f49ef
src/components/Extensibility/tests/useGetCRDByPath.test.js
@@ -6,8 +6,8 @@ import { RecoilRoot } from 'recoil';
6
let mockNamespaceId = 'namespaceId';
7
let mockCrds = [];
8
9
-vi.mock('react-router-dom', async () => ({
10
- ...(await vi.importActual('react-router-dom')),
+vi.mock('react-router', async () => ({
+ ...(await vi.importActual('react-router')),
11
useParams: () => ({
12
namespaceId: mockNamespaceId,
13
}),
0 commit comments