esm syntax changes

This commit is contained in:
2021-05-26 13:51:53 -05:00
parent 43a3dbd582
commit 67abe2abc2
6 changed files with 15 additions and 17 deletions

View File

@@ -1,7 +1,6 @@
import connection from '../networking/connection';
import packet from '../networking/packet';
const Socket = require('net');
import Socket from 'net';
test(`connect fails when error occurs during createConnection`, async () => {
const mock_create = (port, host, cb) => {