Skip to content

Commit

Permalink
Saco comentario y ajusto versión mínima de node
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoefe committed May 9, 2016
1 parent 88eb7ba commit a7e8dc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,12 @@ describe("jsFromHtml from fixtures", function(){
{fileName: 'fixture1c.js' , },
{fileName: 'ejemplo.html' , },
{fileName: 'pseudo-pp.html'},
{fileName: 'pseudo-pp.html', jsName: 'pseudo-pp-es6.js', versionES:6, minVersion:'4.4.2'},
{fileName: 'pseudo-pp.html', jsName: 'pseudo-pp-es6.js', versionES:6, minVersion:'4.4.0'},
{fileName: 'from-pp.html' , skip: '#8', fromPretty:true},
].forEach(function(fixtureInfo){
var fileName = fixtureInfo.fileName;
var minVersion = fixtureInfo.minVersion || '0.12.7';
var mustName="must parse and create the same JS thats create the HTML text for: "+fileName+(fixtureInfo.skip ? " for issue "+fixtureInfo.skip : '');
console.log("VERSION: ", process.versions.node);
if(fixtureInfo.skip || semver.lt(process.versions.node,minVersion)){
it.skip(mustName);
return true;
Expand Down

0 comments on commit a7e8dc4

Please sign in to comment.