spec: Group session.cookies tests

This commit is contained in:
Cheng Zhao 2016-01-13 17:19:53 +08:00
parent 60d44b3b04
commit 63c646242a

View file

@ -28,6 +28,8 @@ describe('session module', function() {
afterEach(function() {
return w.destroy();
});
describe('session.cookies', function() {
it('should get cookies', function(done) {
var server;
server = http.createServer(function(req, res) {
@ -120,6 +122,8 @@ describe('session module', function() {
});
});
});
});
describe('session.clearStorageData(options)', function() {
fixtures = path.resolve(__dirname, 'fixtures');
return it('clears localstorage data', function(done) {