electron/spec/fixtures/module/create_socket.js
Milan Burda d78f37ec8f
refactor: use node scheme imports in spec (#38487)
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-06-15 10:42:27 -04:00

4 lines
131 B
JavaScript

const net = require('node:net');
const server = net.createServer(function () {});
server.listen(process.argv[2]);
process.exit(0);