all files / keystone/lib/core/ initExpressApp.js

14.29% Statements 1/7
0% Branches 0/2
0% Functions 0/1
16.67% Lines 1/6
1 2 3 4 5 6 7 8              
module.exports = function initExpressApp () {
	if (this.app) return this;
	this.initDatabase();
	this.initExpressSession();
	this.app = require('../../server/createApp')(this);
	return this;
};