Skip to content

Commit fc44897

Browse files
authored
Merge pull request #27 from acemilyalcin/origin/testing
Added a basic test and a workflow
2 parents 250df20 + 8e3264b commit fc44897

4 files changed

Lines changed: 5111 additions & 618 deletions

File tree

app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ app.use(express.static(__dirname + '/app/public')); // Public folder containing
1111

1212
require('./app/routes')(app); // Routes are imported
1313

14-
http.createServer(app).listen(app.get('port'), function(){
14+
const server = http.createServer(app).listen(app.get('port'), function(){
1515
console.log('The application is running on port ' + app.get('port'));
1616
}); // Http server is created
17+
18+
module.exports = server;

0 commit comments

Comments
 (0)