Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
style(index.spec.js): validate code style in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 15, 2016
1 parent c9a0fe4 commit 05cfcea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('mos-plugin-toc', () => {
it('should pass fixture in dir ' + filepath, done => {
mos({ content: input, filePath: inputPath }, [
ejs,
{ register: installation, options: config }
{ register: installation, options: config },
])
.then(processor => processor.process())
.then(result => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"main": "index.js",
"scripts": {
"test": "mocha && npm run lint && mos test -x=\"test/**\"",
"lint": "eslint lib/**/*.js index.js",
"lint": "eslint lib/**/*.js index.js index.spec.js",
"commit": "git-cz",
"coverage": "istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha -- -R spec",
"precoveralls": "istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && npm i coveralls@2",
Expand Down

0 comments on commit 05cfcea

Please sign in to comment.