Skip to content

Commit

Permalink
ch(coveralls): integrate coveralls
Browse files Browse the repository at this point in the history
- add .coveralls.yml file
- add coveralls badge to readme.md file

[Finishes #159232379]
  • Loading branch information
klevamane committed Jul 27, 2018
1 parent e863bde commit 8505b43
Show file tree
Hide file tree
Showing 9 changed files with 4,420 additions and 1,607 deletions.
Empty file added .coveralls.yml
Empty file.
1 change: 1 addition & 0 deletions .nyc_output/3a7ca7db52041d6e01537fc86a10c201.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions .nyc_output/ab85d9f7cb4b99482ea52a7a97c7fe39.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ before_script:
- psql -c 'create database ah_test;' -U postgres
script: npm test
after_success:
- npm run coverage
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Authors Haven - A Social platform for the creative at heart.
=======
[![Build Status](https://travis-ci.org/andela/fargo-ah.svg?branch=develop)](https://travis-ci.org/andela/fargo-ah)
[![protected_by hound](https://img.shields.io/badge/protected_by-hound-b764b2.svg)](https://houndci.com/repos)
[![Coverage Status](https://coveralls.io/repos/github/andela/fargo-ah/badge.svg?branch=develop)](https://coveralls.io/github/andela/fargo-ah?branch=develop)

## Vision
Create a community of like minded authors to foster inspiration and innovation
Expand Down
16 changes: 16 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import express from 'express';
import bodyParser from 'body-parser';

// Create global app object
const app = express();


app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());

require("./models/User");

app.use(require("./routes"));

// Export express app to enable test runs exit after completion
module.exports = app;
Loading

0 comments on commit 8505b43

Please sign in to comment.