• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

koajs / session / 382 / 4
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 6.2.0
DEFAULT BRANCH: master
Ran 19 Aug 2019 03:05AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Aug 2019 03:03AM UTC coverage: 100.0%. Remained the same
382.4

Pull #180

travis-ci

web-flow
Adding work to resolve issue 172: If a user decides to use signed cookies, only one of the 'koa:sess' cookies are correctly destroyed by the browser when the data is set to 'null'. This change fixes that by ensuring that the maxAge is always set when destroying the cookie, and the 'koa:sess.sig' cookies are also destroyed.

Changes:
- On destroy, set 'maxAge' to be false
- On destroy, set the 'expires' flag to be UNIXTIME epoch, which the 'Cookie' module relies on
- Added test case for the cookie time being set

Added test to assert that the .sig cookie is expired when 'signed: true'
Pull Request #180: #172: Correctly expire cookies for nullified sessions

8 of 8 relevant lines covered (100.0%)

25.13 hits per line

Source Files on job 382.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 367
  • Travis Job 382.4
  • d9beb1b8 on github
  • Prev Job for on gh-172 (#374.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc