Skip to content

Commit

Permalink
test(express): add failing test cases for Express middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyke authored and Peter Marton committed Jul 27, 2015
1 parent 80b5ddc commit 4349a48
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/express/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,22 @@ describe('graffiti express', function() {

var express = require('./');

it('checks for required options');

it('creates the schema');

describe('requested url starts with prefix', function() {

it('returns with proper results');

it('returns with an error');

});

describe('requested url does not start with prefix', function() {

it('calls the next middleware');

});

});

0 comments on commit 4349a48

Please sign in to comment.