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

andela / heimdal-ah-backend / 205 / 1
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: ft-user-password-reset-162171018
DEFAULT BRANCH: master
Ran 07 Dec 2018 10:39AM UTC
Files 39
Run time 935min
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

07 Dec 2018 10:38AM UTC coverage: 94.598% (+3.4%) from 91.218%
205.1

push

travis-ci

Chidi3b3r3
#162171016 Implement Email Verification Functionality (#18)

* [feature #162171016] Implement Email Verification Functionality Upon Signup

- Update .babelrc
- Update .eslintrc
- Import users.js tests into test/index.js so as to run all users.js tests.
- Create TestHelper Class
- Create a bodyHelper.js file
- Write tests to check for user creation and test to handle all verify email casses.
- Create UsersController.js in controllers
- Add notificationsSender middleware method into UsersController.signup
- Add static verifyEmail method to UsersController.js
- Create Helper file and add gerateEmailToken method to it
- import routes in index.js and export the express app from index.js
- Create notificationSender middleware and add sendVerificationMail method to it
- Install jsonwebtoken, @babel/plugin-transform-runtime, @babel/runtime, @sendgrid/mail, uuid
- Create a routes/index.js file to handle all routeing
- Create routes/users.js and add signup and verify email functionality

* Update index.js and handle new test scenario

- Write test to handle any random endpoint
- Add an endpoint to index.js
- Update package.json

* [Feature #162171016] Update package.json script

- Re-write package.json script
- Install sequelize-cli as dev dependency

* [Feature #162171016] Update package.json script

* [Feature #162171016] Update UsersCntrollers

- Remove req.headers.host

* [Feature #162171016] Update package.json

- Add colors flag to test script

* [Feature #162171016} Update package.json

- Update scripts

* [Feature #162171016] Update tests

- Update UsersController.js
-  Add password field to models/user.js
- Update package.js
-

* debug travis

* [Feature #162171016] Make builds pass on Travis

- Update UsersController
- Update index.js
- Update test/users.js

* [Feature #162171016] Update and refactor the emailing functionality

- Create the Auth Controller
- Refactor UsersController
- Creat... (continued)

191 of 206 branches covered (92.72%)

Branch coverage included in aggregate %.

527 of 553 relevant lines covered (95.3%)

2.13 hits per line

Source Files on job 205.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 94
  • Travis Job 205.1
  • bedc1fad on github
  • Prev Job for on develop (#202.1)
  • Next Job for on develop (#208.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