@natlibfi/xmlhttprequest-mock (npm): Mock for XMLHttpRequest that works both in Browser and Node.js and can override globals
Keywords: xhr|mock|xml|http|request|async|client|test|fake|net