slouch/test
Jeffrey Layanto f23c3b26ca Fix cookie authentication in node and browser (#108)
* Pass slouch in when instantiating EnhancedRequest

This is to allow EnhanceRequest to access slouch._requestWrapper.setCookie

* Update locally stored cookie when response has set-cookie header

* Delete unused this._cookie

* Fix cookie-authentication in browser

* Fix test

Request header now always include withCredentials: true

* Fix test

EnhancedRequest constructor now requires instance of Slouch

* Typo

* Fix test

* Remove TODO comment and clean up redundant code

* Revert change to user.js

* Fix user test spec

* Fix user test spec

* Fix browser coverage test fail

* FIx beautify test fail

* Fix failed jshint test
2019-03-21 19:55:59 -07:00
..
spec Fix cookie authentication in node and browser (#108) 2019-03-21 19:55:59 -07:00
browser.js initial (#1) 2017-07-12 23:50:23 -07:00
config.json test(circleci): upgrade to 2.0 (#80) 2018-03-12 19:53:10 -07:00
couch.png 100% coverage (#4) 2017-07-18 07:45:32 -07:00
node-and-browser.js fix(circleci): use port 15984 (#62) 2017-12-08 14:58:04 -08:00
node.js initial (#1) 2017-07-12 23:50:23 -07:00
utils.js feat(auth): cookie authentication in node (#27) 2017-09-23 04:49:07 -07:00