@@ -3885,8 +3885,9 @@ describe("OAuth Authorization", () => {
38853885
38863886 describe ( "RequestInit headers passthrough" , ( ) => {
38873887 it ( "custom headers from RequestInit are passed to auth discovery requests" , async ( ) => {
3888- const { createFetchWithInit } =
3889- await import ( "@modelcontextprotocol/core" ) ;
3888+ const { createFetchWithInit } = await import (
3889+ "@modelcontextprotocol/core"
3890+ ) ;
38903891
38913892 const customFetch = vi . fn ( ) . mockResolvedValue ( {
38923893 ok : true ,
@@ -3925,8 +3926,9 @@ describe("OAuth Authorization", () => {
39253926 } ) ;
39263927
39273928 it ( "auth-specific headers override base headers from RequestInit" , async ( ) => {
3928- const { createFetchWithInit } =
3929- await import ( "@modelcontextprotocol/core" ) ;
3929+ const { createFetchWithInit } = await import (
3930+ "@modelcontextprotocol/core"
3931+ ) ;
39303932
39313933 const customFetch = vi . fn ( ) . mockResolvedValue ( {
39323934 ok : true ,
@@ -3964,8 +3966,9 @@ describe("OAuth Authorization", () => {
39643966 } ) ;
39653967
39663968 it ( "other RequestInit options are passed through" , async ( ) => {
3967- const { createFetchWithInit } =
3968- await import ( "@modelcontextprotocol/core" ) ;
3969+ const { createFetchWithInit } = await import (
3970+ "@modelcontextprotocol/core"
3971+ ) ;
39693972
39703973 const customFetch = vi . fn ( ) . mockResolvedValue ( {
39713974 ok : true ,
0 commit comments