Skip to content
This repository has been archived by the owner on Feb 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #19 from kellyselden/es6
Browse files Browse the repository at this point in the history
es6 updates
  • Loading branch information
Kelly Selden committed Jan 18, 2016
2 parents eddcce2 + a6cec2a commit aaeeea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/acceptance/babel-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('acceptance - babel', function() {
'--eslint-args="**/*.js"',
'--mocha-args="--compilers js:babel-register test/**/*-test.js"'
];
return run(args, workingDir).then(function(stdout) {
return run(args, workingDir).then(stdout => {
expect(stdout).to.contain(`${ok} this is my test`);
expect(stdout).to.contain('my-file.js passes');
expect(stdout).to.contain('my-test.js passes');
Expand All @@ -27,7 +27,7 @@ describe('acceptance - babel', function() {
'--eslint-args="**/*.js"',
'--mocha-args="--compilers js:babel-register,coffee:coffee-script test/**/*-test.js"'
];
return run(args, workingDir).catch(function(stderr) {
return run(args, workingDir).catch(stderr => {
expect(stderr).to.contain('Error: Cannot find module \'coffee-script\'');
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/failure-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('acceptance - failure', function() {
'--eslint-args="**/*.js"',
'--mocha-args="test/**/*-test.js"'
];
return run(args, workingDir).then(function(stdout) {
return run(args, workingDir).then(stdout => {
expect(stdout).to.contain(`${ok} this is my test`);
expect(stdout).to.contain('my-file.js passes');
expect(stdout).to.contain('my-test.js passes');
Expand Down

0 comments on commit aaeeea6

Please sign in to comment.