Skip to content

Commit

Permalink
feat(get_articles): implement endpoints to get articles …
Browse files Browse the repository at this point in the history
- add a route to get all articles, with pagination support
- add a route to get articles by amount and criteria

[Finishes #164693398]
  • Loading branch information
codinger41 committed Mar 26, 2019
1 parent a70366a commit ed165ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stats.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Make a request to signup with valid details', () => {
});

describe('Create an article by an authenticated and verified user', () => {
before(() => { updateVerifiedStatus(validStatUser.email); });
before(async () => { await updateVerifiedStatus(validStatUser.email); });
it('should create a new article.', (done) => {
chai
.request(app)
Expand Down

0 comments on commit ed165ae

Please sign in to comment.