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

serverless-nextjs / serverless-next.js / 686 / 5
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2019 08:00AM UTC
Files 31
Run time 1s
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

01 Oct 2019 07:54AM UTC coverage: 96.979% (+0.006%) from 96.973%
686.5

push

travis-ci

danielcondemarin
Fix calling `res.end` in `getInitialProps` (#176)

A common way to do redirections in `getInitialProps` is to use `res.writeHead` and then call `res.end`. When doing this the lambda handler would end up resolving twice and causing an error. This is because next checks if `res.finished` is set before ending the response, but `next-aws-cloudfront` never sets it. This adds `res.finished` and sets it to true in `res.end`.

206 of 217 branches covered (94.93%)

Branch coverage included in aggregate %.

757 of 776 relevant lines covered (97.55%)

18.23 hits per line

Source Files on job 686.5
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1050
  • Travis Job 686.5
  • a330fb1a on github
  • Prev Job for on master (#686.6)
  • Next Job for on master (#688.5)
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