Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Kamil Pajdzik fafa26180e
Fix including proxy policy in browser (#328)
* Fix including proxy policy in browser
* Add browser tests
2019-01-30 13:21:26 -08:00
Kamil Pajdzik 1ee5a40d50
Add HTTP(S) over HTTP(S) proxy support (#322)
* Add proxy support using tunnel package

# Conflicts:
#	lib/axiosHttpClient.ts
#	lib/policies/proxyPolicy.ts
#	lib/serviceClient.ts
#	package.json

* Fix incorrect merge

* Add tests

* Remove commented code

* Add tunnel to rollup configuration

* Fix test title casing

* Remove only

* Add axios client tests

* Mock buffer

* Remove rewire

* Fix default HTTP client tests

* Add some proxy tests

* Add support for HTTPS proxy

* Address PR comments
2019-01-25 09:22:30 -08:00
Kamil Pajdzik 4c2b1c5390
Fix default HTTP client tests (#321)
* Enable CORS

* Add empty line

* Add mock http proxy

* Fix few tests

* Remove axios workaround that was fixed in current release

* Fix all tests except download/upload progress

* Fix stream HTTP tests

* Delete testserver

* Remove reporting skipped tests as warning

* Remove .only

* Add nodeIt

* Fix Constants.ts

* Remove it.skip()
2019-01-22 11:46:55 -08:00
Kamil Pajdzik 6b217db81d
Add karma for browser tests (#316)
* Add karma dependency

* Add karma extensions

* Add karma configuration

* Add karma script

* Add karma types

* Format configs

* Working TS scripts

* Move tests around

* Add nodeDescribe and browserDescribe

* Working karma bundle

* Add maps

* Trying to make karma-webpack working

* Fix uuid import

* Trying to make rollup work

* Working debug maps (not working regular tests)

* Working headless Chrome

* Add chrome debugging

* Fix config sharing

* Add TS mappings

* Fix rollup config

* Add TypeScript typings

* Rename multi entry typings

* Fix semicolon

* Make webpack work

* Working webpack

* Add webpack scripts

* Start XHR mocks

* Fix another test

* Skip defaultHttpClient tests

* Add browser test to the test script

* Update the version to 1.4.1
2019-01-15 15:00:06 -08:00
Kamil Pajdzik 523b891b4d
Add browser telemetry (#252) 2018-10-26 13:59:05 -07:00
Rikki Gibson d1bc00b001
Browser xml (#187)
* Pull in subset of isomorphic-xm2js

* Update package.json

* Update webpack configs

* Add XML declaration when stringifying
2018-08-22 14:46:25 -07:00
Rikki Gibson bfeb1adfc9
Call progress callbacks in nodejs streams (#177)
* Call progress callbacks in nodejs streams

* Use tough-cookie instead of isomorphic-tough-cookie

* Support progress reporting for non-stream scenarios

* Add separate blob/stream and buffer/string progress tests
2018-07-26 09:23:42 -07:00
Rikki Gibson c2dc0ae912 Handle abort, progress, and fix webpack configs 2018-06-22 14:38:37 -07:00
Rikki Gibson 08aa781a3e Fix webpack config (may want to consolidate at some point) 2018-06-22 10:17:31 -07:00
Rikki Gibson f0bb030359 Add es6 build step and userAgentPolicy stub 2018-06-05 17:51:50 -07:00
Rikki Gibson b1bf582203 Require granular uuidv4. Remove process polyfill. Remove withCredentials: true in axios. 2018-06-05 17:51:50 -07:00
Rikki Gibson 3ea7186da9 Fixes from feedback 2018-06-04 10:10:02 -07:00
Rikki Gibson 3f497185a5 Remove usages of Buffer from ms-rest-js 2018-06-01 18:03:24 -07:00
Rikki Gibson 13d95979b1 Reorganize tests 2018-05-10 15:02:00 -07:00
Rikki Gibson 7bd6af8ffb Add isDuration(string) function. Remove traces of moment. 2018-05-03 14:29:31 -07:00
Rikki Gibson 91a6ec1921 Replace momentjs with simple duration format test. Tweak webpack config. 2018-05-03 10:27:02 -07:00
Rikki Gibson eea6d0ecf0 Browser tests for ms-rest-js 2018-04-17 14:36:24 -07:00