@@ -1270,6 +1270,28 @@ describe("TriggerChatTransport", function () {
12701270 } ) . not . toThrow ( ) ;
12711271 } ) ;
12721272
1273+ it ( "accepts figure-space wrapped baseURL values" , function ( ) {
1274+ expect ( function ( ) {
1275+ new TriggerChatTransport ( {
1276+ task : "chat-task" ,
1277+ accessToken : "pk_trigger" ,
1278+ baseURL : "\u2007https://api.trigger.dev/custom-prefix/\u2007" ,
1279+ stream : "chat-stream" ,
1280+ } ) ;
1281+ } ) . not . toThrow ( ) ;
1282+ } ) ;
1283+
1284+ it ( "accepts medium-mathematical-space wrapped baseURL values" , function ( ) {
1285+ expect ( function ( ) {
1286+ new TriggerChatTransport ( {
1287+ task : "chat-task" ,
1288+ accessToken : "pk_trigger" ,
1289+ baseURL : "\u205Fhttps://api.trigger.dev/custom-prefix/\u205F" ,
1290+ stream : "chat-stream" ,
1291+ } ) ;
1292+ } ) . not . toThrow ( ) ;
1293+ } ) ;
1294+
12731295 it ( "accepts ideographic-space wrapped baseURL values" , function ( ) {
12741296 expect ( function ( ) {
12751297 new TriggerChatTransport ( {
@@ -4185,6 +4207,28 @@ describe("TriggerChatTransport", function () {
41854207 } ) . not . toThrow ( ) ;
41864208 } ) ;
41874209
4210+ it ( "accepts figure-space wrapped baseURL values from factory" , function ( ) {
4211+ expect ( function ( ) {
4212+ createTriggerChatTransport ( {
4213+ task : "chat-task" ,
4214+ accessToken : "pk_trigger" ,
4215+ baseURL : "\u2007https://api.trigger.dev/custom-prefix/\u2007" ,
4216+ stream : "chat-stream" ,
4217+ } ) ;
4218+ } ) . not . toThrow ( ) ;
4219+ } ) ;
4220+
4221+ it ( "accepts medium-mathematical-space wrapped baseURL values from factory" , function ( ) {
4222+ expect ( function ( ) {
4223+ createTriggerChatTransport ( {
4224+ task : "chat-task" ,
4225+ accessToken : "pk_trigger" ,
4226+ baseURL : "\u205Fhttps://api.trigger.dev/custom-prefix/\u205F" ,
4227+ stream : "chat-stream" ,
4228+ } ) ;
4229+ } ) . not . toThrow ( ) ;
4230+ } ) ;
4231+
41884232 it ( "accepts ideographic-space wrapped baseURL values from factory" , function ( ) {
41894233 expect ( function ( ) {
41904234 createTriggerChatTransport ( {
0 commit comments