@chenpeiyuan/xhr-mock
Mock XMLHttpRequest
Usage no npm install needed!
<script type="module">
import chenpeiyuanXhrMock from 'https://cdn.skypack.dev/@chenpeiyuan/xhr-mock';
</script>
Mock XMLHttpRequest
<script type="module">
import chenpeiyuanXhrMock from 'https://cdn.skypack.dev/@chenpeiyuan/xhr-mock';
</script>