-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from andela/feature/162727462/signup-send-veri…
…fy-email #162727462 signup and send verify link
- Loading branch information
Showing
23 changed files
with
1,085 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"presets": ["@babel/preset-env"], | ||
"plugins": ["@babel/plugin-proposal-class-properties"] | ||
"plugins": ["@babel/plugin-proposal-class-properties", "@babel/plugin-transform-regenerator"] | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
"config": path.resolve('./src/db/config', 'config.js'), | ||
"models-path": path.resolve('./src/db/models'), | ||
"seeders-path": path.resolve('./src/db/seeders'), | ||
"migrations-path": path.resolve('./src/db/migrations') | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
language: node_js | ||
node_js: | ||
- "stable" | ||
cache: | ||
directories: | ||
- "node_modules" | ||
script: | ||
- npm test | ||
after_script: | ||
- npm run coverage | ||
install: npm install | ||
services: | ||
- postgresql | ||
env: | ||
- DB_USERNAME=chidinmaezekwe DB_PASSWORD=null DBNAME=art_cave_test | ||
before_script: | ||
- psql -c 'drop database if exists art_cave_test;' -U postgres | ||
- psql -c 'create database art_cave_test;' -U postgres | ||
- psql -c "CREATE USER chidinmaezekwe WITH PASSWORD 'null';" -U postgres | ||
- npm run db:migrate | ||
|
||
script: npm test | ||
after_success: npm run coverage |
Oops, something went wrong.