Browse Source

test: mock generated Api service with exact casing

pull/11839/head
afc163 3 months ago
parent
commit
ecd61d4f02
  1. 2
      src/app.test.tsx

2
src/app.test.tsx

@ -18,7 +18,7 @@ vi.mock('@umijs/max', () => ({
Link: ({ children }: any) => children, Link: ({ children }: any) => children,
})); }));
vi.mock('@/services/ant-design-pro/api', () => ({ vi.mock('@/services/ant-design-pro/Api', () => ({
currentUser: mockQueryCurrentUser, currentUser: mockQueryCurrentUser,
})); }));

Loading…
Cancel
Save