Skip to content

Commit

Permalink
feat(preset): add jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemao committed Aug 7, 2015
1 parent b04824b commit 467ac0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Expand Up @@ -106,7 +106,7 @@ describe('conventionalChangelog', function() {

expect(chunk).to.include('Second commit');
expect(chunk).to.include('Third commit');
expect(chunk).to.match(/Third commit closes #1\n.*?\n\* Second commit/);
expect(chunk).to.match(/Third commit closes #1[\w\W]*?\* Second commit/);

expect(chunk).to.not.include('First commit');

Expand Down Expand Up @@ -176,7 +176,7 @@ describe('conventionalChangelog', function() {
.pipe(through(function(chunk) {
chunk = chunk.toString();

expect(chunk).to.match(/Second commit\n.*?\n\* Third commit/);
expect(chunk).to.match(/Second commit[\w\W]*?\* Third commit/);

done();
}));
Expand Down

0 comments on commit 467ac0e

Please sign in to comment.