Tests: more Node.js tests.

This commit is contained in:
Andrey Zelenkov
2018-12-11 18:30:58 +03:00
parent 37cd6d23b6
commit aafa4bbaf9
11 changed files with 200 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env node
require('unit-http').createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain', 'Content-Length': 14});
res.write('write');
res.write('write2');
res.end('end');
}).listen(7080);