aboutsummaryrefslogtreecommitdiff
path: root/e2e/web-server/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/web-server/index.js')
-rw-r--r--e2e/web-server/index.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/e2e/web-server/index.js b/e2e/web-server/index.js
new file mode 100644
index 0000000..81e11c1
--- /dev/null
+++ b/e2e/web-server/index.js
@@ -0,0 +1,14 @@
+var http = require('http');
+
+const content =
+'<!DOCTYPE html>' +
+'<html lang="en">' +
+ '<body style="width:10000px; height:10000px">' +
+ '</body>' +
+'</html">' ;
+
+
+http.createServer(function (req, res) {
+ res.writeHead(200, {'Content-Type': 'text/html'});
+ res.end(content);
+}).listen(11111, '127.0.0.1');