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

Commit

Permalink
Merge pull request #993 from LiskHQ/893-add-eslint-no-exclusive-tests
Browse files Browse the repository at this point in the history
 Add eslint no-exclusive-tests rule - Closes #893
  • Loading branch information
slaweet authored Nov 21, 2017
2 parents acd7b83 + 620c6b5 commit 260d1a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"plugin:react/recommended"
],
"plugins": [
"import"
"import",
"mocha"
],
"globals": {
"describe": true,
Expand All @@ -20,6 +21,7 @@
"node": true
},
"rules": {
"mocha/no-exclusive-tests": "error",
"func-names": "off",
"global-require": "off",
"new-cap": ["error", {
Expand Down Expand Up @@ -48,5 +50,10 @@
],
"linebreak-style": 0,
"no-param-reassign": "off"
},
"settings": {
"mocha/additionalTestFunctions": [
"describeModule"
]
}
}
2 changes: 1 addition & 1 deletion app/src/modules/autoUpdater.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect } from 'chai'; // eslint-disable-line import/no-extraneous-depen
import sinon, { spy } from 'sinon'; // eslint-disable-line import/no-extraneous-dependencies
import autoUpdater from './autoUpdater';

describe.only('autoUpdater', () => {
describe('autoUpdater', () => {
const version = '1.2.3';
let params;
let callbacks;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"eslint-loader": "1.9.0",
"eslint-plugin-html": "3.2.2",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-mocha": "4.11.0",
"eslint-plugin-react": "7.4.0",
"exports-loader": "0.6.4",
"extract-text-webpack-plugin": "3.0.0",
Expand Down

0 comments on commit 260d1a4

Please sign in to comment.