Skip to content
Browse files

backport tests

  • Loading branch information...
1 parent 1b5ff2e commit b7f5857a6c4b7535e9cb75b41ca5624a7dae76b1 @tj tj committed
Showing with 3 additions and 4 deletions.
  1. +3 −4 test/staticCache.test.js
View
7 test/staticCache.test.js
@@ -6,8 +6,7 @@
var connect = require('../')
, assert = require('assert')
, should = require('should')
- , http = require('http')
- , create = require('./common').create;
+ , http = require('http');
/**
* Path to ./test/fixtures/
@@ -15,12 +14,12 @@ var connect = require('../')
var fixturesPath = __dirname + '/fixtures';
-var app = create(
+var app = connect(
connect.staticCache(),
connect.static(fixturesPath, { maxAge: 60000 })
);
-var app2 = create(
+var app2 = connect(
connect.staticCache(),
connect.static(fixturesPath, { maxAge: 0 })
);

0 comments on commit b7f5857

Please sign in to comment.
Something went wrong with that request. Please try again.