Commit graph

9 commits

Author SHA1 Message Date
PlasmaPower
54e58d3523 req: Cache the request IP 2016-04-03 19:30:06 -07:00
dead_horse
39f058e11c fix cookies' secure detect 2016-03-15 13:57:22 -07:00
broucz
4b1a1da652 test: switch all functions to arrow functions
closes 

Update test: application -> use() should throw if not a function

Fix lint

Use arrow function

Refactor test using arrow function

Remove non mandatory brackets

fix for merge

Fix: missing refactor after merge

Use arrow function for old generator
2015-11-02 11:22:05 -08:00
Slobodan Stojanovic
cc1d41f5e3 Refactor tests - add arrow functions
Refactor tests - move .should to the same line as arrow function
2015-10-25 13:26:36 -07:00
Michaël Zasso
b5c09a1719 test: fix style issues 2015-10-13 09:23:57 +02:00
TJ Holowaychuk
c06d30286f Merge pull request from tejasmanohar/module_exports
no more exports! only module.exports
2015-10-12 23:46:56 -07:00
Tejas Manohar
46f8d49e4c no more exports! only module.exports 2015-10-13 01:43:23 -05:00
Tejas Manohar
93ade5e2dd refactor Application into a class 2015-10-13 01:19:42 -05:00
Tejas Manohar
e8f79d43f9 modularize tests for application
closes 

add index test for Application

add app.toJSON test

add test for app.inspect()

add tests for app.use()

add tests for app.onerror()

add tests for app.respond()

add tests for app.context()

add tests for app.request()

add tests for app.response

refactor for non-existence of test/app...js

no need for *.js

use helpers/ dir for non-tests
2015-10-12 00:08:06 -07:00
Renamed from test/context.js (Browse further)