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 #18 from kellyselden/compilers
Browse files Browse the repository at this point in the history
multiple compilers test
  • Loading branch information
Kelly Selden committed Jan 18, 2016
2 parents 56fe085 + 11d3aa2 commit ad48c3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/acceptance/babel-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,14 @@ describe('acceptance - babel', function() {
expect(stdout).to.contain('3 passing');
});
});

it('handles multiple compilers', function() {
let args = [
'--eslint-args="**/*.js"',
'--mocha-args="--compilers js:babel-register,coffee:coffee-script test/**/*-test.js"'
];
return run(args, workingDir).catch(function(stderr) {
expect(stderr).to.contain('Error: Cannot find module \'coffee-script\'');
});
});
});

0 comments on commit ad48c3b

Please sign in to comment.