@exodus/test-bundler
Version:
Test bundler for @exodus/test for barebone and browser engines
12 lines (11 loc) • 374 B
JavaScript
const { Agent, Server, createServer, get, request } = require('./http.cjs')
const inherited = { Agent, Server, createServer, get, request }
module.exports = {
...inherited,
get globalAgent() {
throw new Error('https.globalAgent unsupported in bundled mode')
},
set globalAgent(value) {
throw new Error('https.globalAgent unsupported in bundled mode')
},
}