mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix HTTP tests
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import * as http from '@nativescript/core/http';
|
||||
|
||||
(<any>global).FormData = class FormData {};
|
||||
|
||||
declare var postMessage: any;
|
||||
|
||||
http.getString('https://httpbin.org/get').then(
|
||||
|
||||
@@ -33,7 +33,7 @@ export interface HttpRequestOptions {
|
||||
timeout?: number;
|
||||
|
||||
/**
|
||||
* Gets or sets wether to *not* follow server's redirection responses.
|
||||
* Gets or sets whether to *not* follow server's redirection responses.
|
||||
*/
|
||||
dontFollowRedirects?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user