Skip to content

Commit 2ac6239

Browse files
committed
Add client option to pass custom RequestInit object into fetch requests for supported implementations - refactor test to use own server/endpoint
1 parent ad3346c commit 2ac6239

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/openapi-fetch/test/common/create-client.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { describe, expect, test } from "vitest";
22
import { createObservedClient } from "../helpers.js";
3-
import createClient, { type FetchOptions, type HeadersOptions } from "../../src/index.js";
3+
import { type FetchOptions, type HeadersOptions } from "../../src/index.js";
44
import type { paths } from "./schemas/common.js";
5-
import { Agent } from "undici";
65

76
describe("createClient options", () => {
87
test("baseUrl", async () => {

0 commit comments

Comments
 (0)