MOD: migrate, change some dependencies, changed regexp for subdomains
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import http from 'http';
|
||||
import net from 'net';
|
||||
import assert from 'assert';
|
||||
const http = require( 'http');
|
||||
const net = require( 'net');
|
||||
const assert = require( 'assert');
|
||||
|
||||
import TunnelAgent from './TunnelAgent';
|
||||
const TunnelAgent = require( './TunnelAgent');
|
||||
|
||||
describe('TunnelAgent', () => {
|
||||
it('should create an empty agent', async () => {
|
||||
@@ -152,7 +152,7 @@ describe('TunnelAgent', () => {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
|
||||
createConnection(options, cb) {
|
||||
cb(new Error('foo'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user