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

es6 updates #19

Merged
merged 1 commit into from
Jan 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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