Skip to content
Myr

tests running again

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 2a7a5ae · Browse files · 1 file+3 added−7 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+3 added−7 removed

  • tests:+3 added−7 removed

1 file+3 added−7 removed

modified:test/request.test.js+3 added-7 removed
4 unmodified lines
56var express = require('express')7 , connect = require('connect')8 , assert = require('assert')9 , should = require('should')10 , MemoryStore = express.session.MemoryStore;9 , should = require('should');1012// Prevent reap timer13var memoryStore = new MemoryStore({ reapInterval: -1 });1411module.exports = {12 'test #isXMLHttpRequest': function(){13 var app = express.createServer();14
106 unmodified lines
121 },122 123 'test #flash()': function(){124 var app = express.createServer(129 connect.cookieDecoder(),130 connect.session({ secret: 'something', store: memoryStore })125 connect.cookieParser()126 , connect.session({ secret: 'something' })127 );128129 app.flashFormatters = {130 u: function(val){
169 unmodified lines