Skip to content
Myr

removed old tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent f6ca25e · Browse files · 3 files+1 added−37 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+1 added−37 removed

  • tests:+0 added−36 removed
  • other:+1 added−1 removed

3 files+1 added−37 removed

modified:lib/response.js+1 added-1 removed
410 unmodified lines
411res.cookie = function(name, val, options){412 options = options || {};413 if ('object' == typeof val) val = 'j:' + JSON.stringify(val);414 if ('maxAge' in options) options.expires = new Date(Date.now() + options.maxAge);415 if (undefined === options.path) options.path = '/';415 if (null == options.path) options.path = '/';416 var cookie = utils.serializeCookie(name, val, options);417 this.header('Set-Cookie', cookie);418 return this;419};
157 unmodified lines
modified:test/res.clearCookie.js-18 removed
modified:test/res.cookie.js-18 removed