Skip to content

Commit

Permalink
feat(snippets): improved comments in tests snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Pintus committed Apr 6, 2017
1 parent 1bee4f2 commit 61c14f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"commitizen": "2.9.6",
"coveralls": "^2.12.0",
"cz-conventional-changelog": "2.0.0",
"husky": "^0.13.2",
"mocha": "^3.2.0",
"nyc": "^10.1.2",
"rewire": "^2.5.2",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/common/templates/snippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*/

const skipComment = `//This test skeleton IS INTENTIONALLY INCOMPLETE.
//To complete it read the comments below and remove the skip() function.
//See Mocha documentation for more about skip: https://mochajs.org/#inclusive-tests`;
//To complete it read the comments below and remove the skip() function from tests after completing them.
//See Mocha documentation for more info about skip(): https://mochajs.org/#inclusive-tests`;



Expand Down
4 changes: 2 additions & 2 deletions test/testSnippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ describe('Code Snippets', function() {
});
it('skipComment snippet should be correct', function(done) {
skipComment.should.be.equal( `//This test skeleton IS INTENTIONALLY INCOMPLETE.
//To complete it read the comments below and remove the skip() function.
//See Mocha documentation for more about skip: https://mochajs.org/#inclusive-tests`);
//To complete it read the comments below and remove the skip() function from tests after completing them.
//See Mocha documentation for more info about skip(): https://mochajs.org/#inclusive-tests`);
done();
});

Expand Down

0 comments on commit 61c14f5

Please sign in to comment.