RunKit + npm: w3c-xmlhttprequest

node v6.17.1
endpointsharetweet
require('mithril/test-utils/browserMock')(global) global.window.XMLHttpRequest = require("w3c-xmlhttprequest").XMLHttpRequest var m = require('mithril') m.request('https://httpbin.org/get').then(console.log);
Created from: https://runkit.com/npm/w3c-xmlhttprequest
Loading…

no comments

    sign in to comment