Dropped _test postfix from test files
This commit is contained in:
19
test/app.js
Normal file
19
test/app.js
Normal file
@@ -0,0 +1,19 @@
|
||||
var request = require('supertest');
|
||||
var app = require('../app.js');
|
||||
|
||||
describe('GET /', function() {
|
||||
it('should return 200 OK', function(done) {
|
||||
request(app)
|
||||
.get('/')
|
||||
.expect(200, done);
|
||||
});
|
||||
});
|
||||
|
||||
describe('GET /reset', function() {
|
||||
it('should return 404', function(done) {
|
||||
request(app)
|
||||
.get('/reset')
|
||||
.expect(404, done);
|
||||
// this will fail
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user