Tests: Node.js application tests.

This commit is contained in:
Sergey Kandaurov
2018-10-25 15:43:48 +03:00
parent 41d3d63758
commit 0fdc7c3a55
18 changed files with 342 additions and 0 deletions

6
test/node/basic/app.js Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env node
require('unit-http').createServer(function (req, res) {
res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(7080);