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

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

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2019 08:04AM UTC
Files 31
Run time 2s
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%. Remained the same
688.5

push

travis-ci-com

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 688.5
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1051
  • Travis Job 688.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 TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc