Some more code cleanup
This commit is contained in:
2
app.js
2
app.js
@ -105,3 +105,5 @@ app.get('/auth/tumblr/callback', passport.authorize('tumblr', { failureRedirect:
|
||||
app.listen(app.get('port'), function() {
|
||||
console.log('Express server listening on port ' + app.get('port'));
|
||||
});
|
||||
|
||||
module.exports = app;
|
@ -1,10 +0,0 @@
|
||||
var request = require('request');
|
||||
|
||||
describe("Demo", function() {
|
||||
it("should return 200 OK", function(done) {
|
||||
request("http://localhost:3000", function(error, response, body){
|
||||
expect(response.statusCode).toEqual(200);
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user