Skip to content

Commit

Permalink
refactor: Updates rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexseitsinger committed Jan 19, 2020
1 parent b771d9d commit 0986231
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions jest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ module.exports = {
/**
* Disallow commented out tests
*
* NOTE: This might be annoying, so perhaps we'll disable it later.
* Sometimes, we comment out tests until their completed. So, disable this
* rule.
*/
"jest/no-commented-out-tests": "error",
"jest/no-commented-out-tests": "off",

/**
* Disallow disabled tests
Expand All @@ -60,8 +61,10 @@ module.exports = {

/**
* Disallow focused tests
*
* NOTE: We sometimes use only to check if a test works, so disable this.
*/
"jest/no-focused-tests": "error",
"jest/no-focused-tests": "off",

/**
* Disallow setup and teardown hooks
Expand Down

0 comments on commit 0986231

Please sign in to comment.