it("doesn't require refinement before using headers", () => { request().done({ success(response) { response.headers.hasOwnProperty(); } }); })
it("requires refinement before using headers", () => { request().done({ error(response) { // $ExpectError response.headers.hasOwnProperty(); } }); })
it("doesn't support ms-stream yet", () => { // $ExpectError request({ responseType: "ms-stream" }); })
it("doesn't have a send method", () => { // $ExpectError request().get().send(); })
it('supports json', () => { request({ responseType: "json" }); })
it('has a query method', () => { request().get().query(); })
it("doesn't support upload yet", () => { // $ExpectError request().hook('upload', () => {}); })
it('supports download', () => { request().hook('download', () => {}); })
it("doesn't support trace", () => { // $ExpectError request().trace(); })
it('supports post', () => { request().post(); })