Skip to content
Myr

Added test for "env" setting

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent b770e56 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • tests:+1 added−0 removed

1 file+1 added−0 removed

modified:test/express.test.js+1 added
10 unmodified lines
11 'test basic server': function(assert){12 var server = express.createServer();1314 server.get('/', function(req, res){15 assert.equal('test', server.set('env'), 'env setting was not set properly');16 res.writeHead(200, {});17 res.end('wahoo');18 });19
242 unmodified lines