|
1 |
| -import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; |
2 |
| -import { fireEvent, render, renderHook, screen, waitFor } from "@testing-library/react"; |
| 1 | +import { afterAll, beforeAll, describe, expect, it } from "vitest"; |
| 2 | +import { server, baseUrl, useMockRequestHandler } from "./fixtures/mock-server.js"; |
| 3 | +import type { paths } from "./fixtures/api.js"; |
| 4 | +import createClient from "../src/index.js"; |
3 | 5 | import createFetchClient from "openapi-fetch";
|
| 6 | +import { fireEvent, render, renderHook, screen, waitFor } from "@testing-library/react"; |
| 7 | +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; |
4 | 8 | import { Suspense, type ReactNode } from "react";
|
5 | 9 | import { ErrorBoundary } from "react-error-boundary";
|
6 |
| -import { afterAll, beforeAll, describe, expect, it } from "vitest"; |
7 |
| -import createClient from "../src/index.js"; |
8 |
| -import type { paths } from "./fixtures/api.js"; |
9 |
| -import { baseUrl, server, useMockRequestHandler } from "./fixtures/mock-server.js"; |
10 | 10 |
|
11 | 11 | const queryClient = new QueryClient({
|
12 | 12 | defaultOptions: {
|
|
0 commit comments