UNPKG

dreemgl

Version:

DreemGL is an open-source multi-screen prototyping framework for mediated environments, with a visual editor and shader styling for webGL and DALi runtimes written in JavaScript. As a toolkit for gpu-accelerated multiscreen development, DreemGL includes

14 lines (13 loc) 377 B
var request = require('../index') , http = require('http') , assert = require('assert') ; var s = http.createServer(function (req, resp) { resp.statusCode = 200 resp.end('asdf') }).listen(8080, function () { var r = request('http://localhost:8080', function (e, resp) { assert.equal(JSON.parse(JSON.stringify(r)).response.statusCode, 200) s.close() }) })