ctimmerm / axios-mock-adapter

Axios adapter that allows to easily mock requests
MIT License
3.47k stars 245 forks source link

set-cookie Header may set document.cookie too #229

Open AndyOGo opened 5 years ago

AndyOGo commented 5 years ago

If I reply with a set-cookie I expect document.cookie to be updated within a browser or fake-DOM environment, like Jest/jsdom.