spec: session.defaultSession test case
This commit is contained in:
parent
e7666b0448
commit
3ce3004595
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,12 @@ describe('session module', function () {
|
|||
w = null
|
||||
})
|
||||
|
||||
describe('session.defaultSession', function () {
|
||||
it('returns the default session', function () {
|
||||
assert.equal(session.defaultSession, session.fromPartition(''))
|
||||
})
|
||||
})
|
||||
|
||||
describe('session.cookies', function () {
|
||||
it('should get cookies', function (done) {
|
||||
var server = http.createServer(function (req, res) {
|
||||
|
|
Loading…
Reference in a new issue