Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make tests backward compatible

  • Loading branch information...
commit c8d92586a55d07e094c3b21449bcf31f16079858 1 parent 0ba287d
Tim Anema authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/test.js
View
2  test/test.js
@@ -2,7 +2,7 @@ var testHelper = require('./helpers.test.js');
console.log("all tests completed successfully!");
var express = require("express");
-var app = express();
+var app = express.createServer ? express.createServer() : express();
var helpers = require('../lib/express-helpers')(app);
app.set('views', __dirname);
app.set('view engine', 'ejs');
Please sign in to comment.
Something went wrong with that request. Please try again.