Skip to content

Commit

Permalink
fix(): misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Feb 26, 2018
1 parent 99d8a44 commit a1619e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions templates/app/mocha.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Register the Babel require hook
require('babel-core/register');

var chai = require('chai');
const chai = require('chai');

// Load Chai assertions
global.expect = chai.expect;
Expand All @@ -16,4 +16,4 @@ global.sinon = require('sinon');
// Initialize Chai plugins
chai.use(require('sinon-chai'));
chai.use(require('chai-as-promised'));
chai.use(require('chai-things'))
chai.use(require('chai-things'));
10 changes: 4 additions & 6 deletions templates/app/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ var config = {
// with relative paths will be prepended with this.
baseUrl: 'http://localhost:' + (process.env.PORT || '<%= Number(devPort) + 1 %>'),

// Credientials for Saucelabs
sauceUser: process.env.SAUCE_USERNAME,

sauceKey: process.env.SAUCE_ACCESS_KEY,
directConnect: true,

// list of files / patterns to load in the browser
specs: [
Expand All @@ -35,8 +32,9 @@ var config = {
capabilities: {
'browserName': 'chrome',
'name': 'Fullstack E2E',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER
'chromeOptions': {
'args': ['show-fps-counter=true']
},
},

// ----- The test framework -----
Expand Down

0 comments on commit a1619e6

Please sign in to comment.