mirror of
https://github.com/mattstyles/yeoman-angular-express-plus.git
synced 2026-01-09 14:38:07 -05:00
Use Phantom as standard for tests
This commit is contained in:
@@ -41,7 +41,8 @@ autoWatch = false;
|
||||
// - Safari (only Mac)
|
||||
// - PhantomJS
|
||||
// - IE (only Windows)
|
||||
browsers = ['Chrome'];
|
||||
//browsers = ['Chrome', 'Firefox','Safari'];
|
||||
browsers = ['PhantomJS'];
|
||||
|
||||
// If browser does not capture in given timeout [ms], kill it
|
||||
captureTimeout = 5000;
|
||||
|
||||
@@ -47,7 +47,8 @@ autoWatch = false;
|
||||
// - Safari (only Mac)
|
||||
// - PhantomJS
|
||||
// - IE (only Windows)
|
||||
browsers = ['Chrome'];
|
||||
//browsers = ['Chrome', 'Firefox', 'Safari'];
|
||||
browsers = ['PhantomJS'];
|
||||
|
||||
// If browser does not capture in given timeout [ms], kill it
|
||||
captureTimeout = 5000;
|
||||
|
||||
@@ -15,7 +15,6 @@ var server = module.exports = express();
|
||||
// Configure Server
|
||||
server.configure( function() {
|
||||
server.set( 'port', process.env.PORT || appConfig.server.port );
|
||||
// @todo add hogan to serve views
|
||||
server.set( 'views', path.join( __dirname, './../app' ) );
|
||||
server.engine( 'html', cons.hogan );
|
||||
server.set( 'view engine', 'html' );
|
||||
|
||||
Reference in New Issue
Block a user