Skip to content

Commit a1619e6

Browse files
committed
fix(): misc cleanup
1 parent 99d8a44 commit a1619e6

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Diff for: templates/app/mocha.conf.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Register the Babel require hook
44
require('babel-core/register');
55

6-
var chai = require('chai');
6+
const chai = require('chai');
77

88
// Load Chai assertions
99
global.expect = chai.expect;
@@ -16,4 +16,4 @@ global.sinon = require('sinon');
1616
// Initialize Chai plugins
1717
chai.use(require('sinon-chai'));
1818
chai.use(require('chai-as-promised'));
19-
chai.use(require('chai-things'))
19+
chai.use(require('chai-things'));

Diff for: templates/app/protractor.conf.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ var config = {
1313
// with relative paths will be prepended with this.
1414
baseUrl: 'http://localhost:' + (process.env.PORT || '<%= Number(devPort) + 1 %>'),
1515

16-
// Credientials for Saucelabs
17-
sauceUser: process.env.SAUCE_USERNAME,
18-
19-
sauceKey: process.env.SAUCE_ACCESS_KEY,
16+
directConnect: true,
2017

2118
// list of files / patterns to load in the browser
2219
specs: [
@@ -35,8 +32,9 @@ var config = {
3532
capabilities: {
3633
'browserName': 'chrome',
3734
'name': 'Fullstack E2E',
38-
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
39-
'build': process.env.TRAVIS_BUILD_NUMBER
35+
'chromeOptions': {
36+
'args': ['show-fps-counter=true']
37+
},
4038
},
4139

4240
// ----- The test framework -----

0 commit comments

Comments
 (0)