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

serverless-nextjs / serverless-next.js / 688
91%

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

pending completion
688

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%)

36.45 hits per line

Jobs
ID Job ID Ran Files Coverage
5 688.5 01 Oct 2019 08:04AM UTC 0
96.98
Travis Job 688.5
6 688.6 01 Oct 2019 08:05AM UTC 0
96.98
Travis Job 688.6
Source Files on build 688
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #688
  • a330fb1a on github
  • Prev Build on master (#686)
  • Next Build on master (#688)
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