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

7
test/node/update_header/app.js Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env node
require('unit-http').createServer(function (req, res) {
res.setHeader('X-Header', 'test');
res.setHeader('X-Header', 'new');
res.end();
}).listen(7080);