Permalink
Browse files

Use jest for rule tests (#2158)

  • Loading branch information...
1 parent 0711695 commit 16de92b887a51caa3c627c667f6d919ab66857c7 @jeddy3 jeddy3 committed with davidtheclark Dec 4, 2016
Showing with 136 additions and 421 deletions.
  1. +3 −3 .travis.yml
  2. +1 −1 appveyor.yml
  3. +2 −3 lib/createStylelint.js
  4. +0 −1 lib/rules/at-rule-blacklist/__tests__/index.js
  5. +1 −1 lib/rules/at-rule-empty-line-before/__tests__/index.js
  6. +0 −1 lib/rules/at-rule-name-case/__tests__/index.js
  7. +0 −1 lib/rules/at-rule-name-newline-after/__tests__/index.js
  8. +0 −1 lib/rules/at-rule-name-space-after/__tests__/index.js
  9. +0 −1 lib/rules/at-rule-no-unknown/__tests__/index.js
  10. +0 −1 lib/rules/at-rule-no-vendor-prefix/__tests__/index.js
  11. +0 −1 lib/rules/at-rule-semicolon-newline-after/__tests__/index.js
  12. +0 −1 lib/rules/at-rule-whitelist/__tests__/index.js
  13. +0 −1 lib/rules/block-closing-brace-empty-line-before/__tests__/index.js
  14. +0 −1 lib/rules/block-closing-brace-newline-after/__tests__/index.js
  15. +0 −1 lib/rules/block-closing-brace-newline-before/__tests__/index.js
  16. +0 −1 lib/rules/block-closing-brace-space-after/__tests__/index.js
  17. +0 −1 lib/rules/block-closing-brace-space-before/__tests__/index.js
  18. +0 −1 lib/rules/block-no-empty/__tests__/index.js
  19. +0 −1 lib/rules/block-no-single-line/__tests__/index.js
  20. +0 −1 lib/rules/block-opening-brace-newline-after/__tests__/index.js
  21. +0 −1 lib/rules/block-opening-brace-newline-before/__tests__/index.js
  22. +0 −1 lib/rules/block-opening-brace-space-after/__tests__/index.js
  23. +0 −1 lib/rules/block-opening-brace-space-before/__tests__/index.js
  24. +1 −1 lib/rules/color-hex-case/__tests__/index.js
  25. +1 −1 lib/rules/color-hex-length/__tests__/index.js
  26. +0 −1 lib/rules/color-named/__tests__/index.js
  27. +0 −1 lib/rules/color-no-hex/__tests__/index.js
  28. +0 −1 lib/rules/color-no-invalid-hex/__tests__/index.js
  29. +1 −1 lib/rules/comment-empty-line-before/__tests__/index.js
  30. +0 −1 lib/rules/comment-no-empty/__tests__/index.js
  31. +0 −1 lib/rules/comment-whitespace-inside/__tests__/index.js
  32. +0 −1 lib/rules/comment-word-blacklist/__tests__/index.js
  33. +0 −1 lib/rules/custom-media-pattern/__tests__/index.js
  34. +0 −1 lib/rules/custom-property-empty-line-before/__tests__/index.js
  35. +0 −1 lib/rules/custom-property-no-outside-root/__tests__/index.js
  36. +0 −1 lib/rules/custom-property-pattern/__tests__/index.js
  37. +0 −1 lib/rules/declaration-bang-space-after/__tests__/index.js
  38. +0 −1 lib/rules/declaration-bang-space-before/__tests__/index.js
  39. +0 −1 lib/rules/declaration-block-no-duplicate-properties/__tests__/index.js
  40. +0 −1 lib/rules/declaration-block-no-ignored-properties/__tests__/index.js
  41. +0 −1 lib/rules/declaration-block-no-redundant-longhand-properties/__tests__/index.js
  42. +0 −1 lib/rules/declaration-block-no-shorthand-property-overrides/__tests__/index.js
  43. +0 −1 lib/rules/declaration-block-properties-order/__tests__/alphabetical.js
  44. +0 −1 lib/rules/declaration-block-properties-order/__tests__/flat.js
  45. +0 −1 lib/rules/declaration-block-properties-order/__tests__/grouped-flexible.js
  46. +0 −1 lib/rules/declaration-block-properties-order/__tests__/grouped-strict.js
  47. +98 −74 lib/rules/declaration-block-properties-order/__tests__/validate-options.js
  48. +0 −1 lib/rules/declaration-block-semicolon-newline-after/__tests__/index.js
  49. +0 −1 lib/rules/declaration-block-semicolon-newline-before/__tests__/index.js
  50. +0 −1 lib/rules/declaration-block-semicolon-space-after/__tests__/index.js
  51. +0 −1 lib/rules/declaration-block-semicolon-space-before/__tests__/index.js
  52. +0 −1 lib/rules/declaration-block-single-line-max-declarations/__tests__/index.js
  53. +0 −1 lib/rules/declaration-block-trailing-semicolon/__tests__/index.js
  54. +0 −1 lib/rules/declaration-colon-newline-after/__tests__/index.js
  55. +0 −1 lib/rules/declaration-colon-space-after/__tests__/index.js
  56. +0 −1 lib/rules/declaration-colon-space-before/__tests__/index.js
  57. +0 −1 lib/rules/declaration-empty-line-before/__tests__/index.js
  58. +0 −1 lib/rules/declaration-no-important/__tests__/index.js
  59. +0 −1 lib/rules/declaration-property-unit-blacklist/__tests__/index.js
  60. +0 −1 lib/rules/declaration-property-unit-whitelist/__tests__/index.js
  61. +0 −1 lib/rules/declaration-property-value-blacklist/__tests__/index.js
  62. +0 −1 lib/rules/declaration-property-value-whitelist/__tests__/index.js
  63. +0 −1 lib/rules/font-family-name-quotes/__tests__/index.js
  64. +0 −1 lib/rules/font-family-no-duplicate-names/__tests__/index.js
  65. +0 −1 lib/rules/font-weight-notation/__tests__/index.js
  66. +0 −1 lib/rules/function-blacklist/__tests__/index.js
  67. +0 −1 lib/rules/function-calc-no-unspaced-operator/__tests__/index.js
  68. +0 −1 lib/rules/function-comma-newline-after/__tests__/index.js
  69. +0 −1 lib/rules/function-comma-newline-before/__tests__/index.js
  70. +0 −1 lib/rules/function-comma-space-after/__tests__/index.js
  71. +0 −1 lib/rules/function-comma-space-before/__tests__/index.js
  72. +0 −1 lib/rules/function-linear-gradient-no-nonstandard-direction/__tests__/index.js
  73. +0 −1 lib/rules/function-max-empty-lines/__tests__/index.js
  74. +0 −1 lib/rules/function-name-case/__tests__/index.js
  75. +0 −1 lib/rules/function-parentheses-newline-inside/__tests__/index.js
  76. +0 −1 lib/rules/function-parentheses-space-inside/__tests__/index.js
  77. +0 −1 lib/rules/function-url-data-uris/__tests__/index.js
  78. +0 −1 lib/rules/function-url-no-scheme-relative/__tests__/index.js
  79. +0 −1 lib/rules/function-url-quotes/__tests__/index.js
  80. +0 −1 lib/rules/function-url-scheme-whitelist/__tests__/index.js
  81. +0 −1 lib/rules/function-whitelist/__tests__/index.js
  82. +0 −1 lib/rules/function-whitespace-after/__tests__/index.js
  83. +0 −1 lib/rules/indentation/__tests__/at-rules.js
  84. +0 −1 lib/rules/indentation/__tests__/comments.js
  85. +0 −1 lib/rules/indentation/__tests__/functions.js
  86. +0 −1 lib/rules/indentation/__tests__/rules.js
  87. +0 −1 lib/rules/indentation/__tests__/selectors.js
  88. +0 −1 lib/rules/keyframe-declaration-no-important/__tests__/index.js
  89. +0 −1 lib/rules/length-zero-no-unit/__tests__/index.js
  90. +0 −1 lib/rules/max-empty-lines/__tests__/index.js
  91. +0 −1 lib/rules/max-line-length/__tests__/index.js
  92. +0 −1 lib/rules/max-nesting-depth/__tests__/index.js
  93. +0 −1 lib/rules/media-feature-colon-space-after/__tests__/index.js
  94. +0 −1 lib/rules/media-feature-colon-space-before/__tests__/index.js
  95. +0 −1 lib/rules/media-feature-name-blacklist/__tests__/index.js
  96. +0 −1 lib/rules/media-feature-name-case/__tests__/index.js
  97. +0 −1 lib/rules/media-feature-name-no-unknown/__tests__/index.js
  98. +0 −1 lib/rules/media-feature-name-no-vendor-prefix/__tests__/index.js
  99. +0 −1 lib/rules/media-feature-name-whitelist/__tests__/index.js
  100. +0 −1 lib/rules/media-feature-no-missing-punctuation/__tests__/index.js
  101. +0 −1 lib/rules/media-feature-parentheses-space-inside/__tests__/index.js
  102. +0 −1 lib/rules/media-feature-range-operator-space-after/__tests__/index.js
  103. +0 −1 lib/rules/media-feature-range-operator-space-before/__tests__/index.js
  104. +0 −1 lib/rules/media-query-list-comma-newline-after/__tests__/index.js
  105. +0 −1 lib/rules/media-query-list-comma-newline-before/__tests__/index.js
  106. +0 −1 lib/rules/media-query-list-comma-space-after/__tests__/index.js
  107. +0 −1 lib/rules/media-query-list-comma-space-before/__tests__/index.js
  108. +0 −1 lib/rules/no-browser-hacks/__tests__/index.js
  109. +0 −1 lib/rules/no-descending-specificity/__tests__/index.js
  110. +16 −18 lib/rules/no-duplicate-selectors/__tests__/index.js
  111. +0 −1 lib/rules/no-empty-source/__tests__/index.js
  112. +0 −1 lib/rules/no-eol-whitespace/__tests__/index.js
  113. +0 −1 lib/rules/no-extra-semicolons/__tests__/index.js
  114. +0 −1 lib/rules/no-indistinguishable-colors/__tests__/index.js
  115. +0 −1 lib/rules/no-invalid-double-slash-comments/__tests__/index.js
  116. +0 −1 lib/rules/no-missing-end-of-source-newline/__tests__/index.js
  117. +0 −1 lib/rules/no-unknown-animations/__tests__/index.js
  118. +0 −1 lib/rules/no-unsupported-browser-features/__tests__/index.js
  119. +0 −1 lib/rules/number-leading-zero/__tests__/index.js
  120. +0 −1 lib/rules/number-max-precision/__tests__/index.js
  121. +0 −1 lib/rules/number-no-trailing-zeros/__tests__/index.js
  122. +0 −1 lib/rules/property-blacklist/__tests__/index.js
  123. +0 −1 lib/rules/property-case/__tests__/index.js
  124. +0 −1 lib/rules/property-no-unknown/__tests__/index.js
  125. +0 −1 lib/rules/property-no-vendor-prefix/__tests__/index.js
  126. +0 −1 lib/rules/property-whitelist/__tests__/index.js
  127. +0 −1 lib/rules/root-no-standard-properties/__tests__/index.js
  128. +0 −1 lib/rules/rule-nested-empty-line-before/__tests__/index.js
  129. +0 −1 lib/rules/rule-non-nested-empty-line-before/__tests__/index.js
  130. +0 −1 lib/rules/selector-attribute-brackets-space-inside/__tests__/index.js
  131. +0 −1 lib/rules/selector-attribute-operator-blacklist/__tests__/index.js
  132. +0 −1 lib/rules/selector-attribute-operator-space-after/__tests__/index.js
  133. +0 −1 lib/rules/selector-attribute-operator-space-before/__tests__/index.js
  134. +0 −1 lib/rules/selector-attribute-operator-whitelist/__tests__/index.js
  135. +0 −1 lib/rules/selector-attribute-quotes/__tests__/index.js
  136. +1 −1 lib/rules/selector-class-pattern/__tests__/index.js
  137. +0 −1 lib/rules/selector-combinator-space-after/__tests__/index.js
  138. +0 −1 lib/rules/selector-combinator-space-before/__tests__/index.js
  139. +0 −1 lib/rules/selector-descendant-combinator-no-non-space/__tests__/index.js
  140. +1 −1 lib/rules/selector-id-pattern/__tests__/index.js
  141. +0 −1 lib/rules/selector-list-comma-newline-after/__tests__/index.js
  142. +0 −1 lib/rules/selector-list-comma-newline-before/__tests__/index.js
  143. +0 −1 lib/rules/selector-list-comma-space-after/__tests__/index.js
  144. +0 −1 lib/rules/selector-list-comma-space-before/__tests__/index.js
  145. +0 −1 lib/rules/selector-max-compound-selectors/__tests__/index.js
  146. +0 −1 lib/rules/selector-max-empty-lines/__tests__/index.js
  147. +6 −12 lib/rules/selector-max-specificity/__tests__/index.js
  148. +1 −1 lib/rules/selector-nested-pattern/__tests__/index.js
  149. +0 −1 lib/rules/selector-no-attribute/__tests__/index.js
  150. +0 −1 lib/rules/selector-no-combinator/__tests__/index.js
  151. +0 −1 lib/rules/selector-no-empty/__tests__/index.js
  152. +0 −1 lib/rules/selector-no-id/__tests__/index.js
  153. +0 −1 lib/rules/selector-no-qualifying-type/__tests__/index.js
  154. +0 −1 lib/rules/selector-no-type/__tests__/index.js
  155. +0 −1 lib/rules/selector-no-universal/__tests__/index.js
  156. +0 −1 lib/rules/selector-no-vendor-prefix/__tests__/index.js
  157. +0 −1 lib/rules/selector-pseudo-class-blacklist/__tests__/index.js
  158. +0 −1 lib/rules/selector-pseudo-class-case/__tests__/index.js
  159. +0 −1 lib/rules/selector-pseudo-class-no-unknown/__tests__/index.js
  160. +0 −1 lib/rules/selector-pseudo-class-parentheses-space-inside/__tests__/index.js
  161. +0 −1 lib/rules/selector-pseudo-class-whitelist/__tests__/index.js
  162. +0 −1 lib/rules/selector-pseudo-element-case/__tests__/index.js
  163. +0 −1 lib/rules/selector-pseudo-element-colon-notation/__tests__/index.js
  164. +0 −1 lib/rules/selector-pseudo-element-no-unknown/__tests__/index.js
  165. +0 −1 lib/rules/selector-root-no-composition/__tests__/index.js
  166. +0 −1 lib/rules/selector-type-case/__tests__/index.js
  167. +0 −1 lib/rules/selector-type-no-unknown/__tests__/index.js
  168. +0 −1 lib/rules/shorthand-property-no-redundant-values/__tests__/index.js
  169. +0 −1 lib/rules/string-no-newline/__tests__/index.js
  170. +0 −1 lib/rules/string-quotes/__tests__/index.js
  171. +0 −1 lib/rules/stylelint-disable-reason/__tests__/index.js
  172. +0 −1 lib/rules/time-no-imperceptible/__tests__/index.js
  173. +0 −1 lib/rules/unit-blacklist/__tests__/index.js
  174. +0 −1 lib/rules/unit-case/__tests__/index.js
  175. +0 −1 lib/rules/unit-no-unknown/__tests__/index.js
  176. +0 −1 lib/rules/unit-whitelist/__tests__/index.js
  177. +0 −1 lib/rules/value-keyword-case/__tests__/index.js
  178. +0 −1 lib/rules/value-list-comma-newline-after/__tests__/index.js
  179. +0 −1 lib/rules/value-list-comma-newline-before/__tests__/index.js
  180. +0 −1 lib/rules/value-list-comma-space-after/__tests__/index.js
  181. +0 −1 lib/rules/value-list-comma-space-before/__tests__/index.js
  182. +0 −1 lib/rules/value-list-max-empty-lines/__tests__/index.js
  183. +0 −1 lib/rules/value-no-vendor-prefix/__tests__/index.js
  184. +3 −7 package.json
  185. +0 −126 scripts/rules-tape.js
View
@@ -9,13 +9,13 @@ matrix:
script: npm run pretest
env: CI=pretest
- node_js: '7'
- script: npm run test:jest -- --runInBand && npm run test:tape
+ script: npm run test:jest -- --runInBand
env: CI=tests 7
- node_js: '6'
- script: npm run test:jest -- --runInBand --testPathPattern .*lib/.* && npm run test:tape
+ script: npm run test:jest -- --runInBand --testPathPattern .*lib/.*
env: CI=tests 6
- node_js: '4'
- script: npm run test:jest -- --runInBand --testPathPattern .*lib/.* && npm run test:tape
+ script: npm run test:jest -- --runInBand --testPathPattern .*lib/.*
env: CI=tests 4
before_install:
- npm prune
View
@@ -19,4 +19,4 @@ install:
test_script:
- node --version
- npm --version
- - cmd: "npm run test:jest -- --runInBand --testPathPattern \\lib && npm run test:tape"
+ - cmd: "npm run test:jest -- --runInBand --testPathPattern \\lib"
@@ -12,9 +12,8 @@ const lintSource = require("./lintSource")
// The stylelint "internal API" is passed among functions
// so that methods on a stylelint instance can invoke
// each other while sharing options and caches
-module.exports = function ()/*: stylelint$internalApi*/ {
- const options/*: stylelint$options*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}
-
+module.exports = function (options/*: stylelint$options*/)/*: stylelint$internalApi*/ {
+ options = options || {}
const stylelint/*: Object*/ = { _options: options }
// Two separate explorers so they can each have their own transform
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -1,7 +1,7 @@
"use strict"
const mergeTestDescriptions = require("../../../testUtils/mergeTestDescriptions")
-const testRule = require("../../../testUtils/testRule")
+
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -1,7 +1,7 @@
"use strict"
const mergeTestDescriptions = require("../../../testUtils/mergeTestDescriptions")
-const testRule = require("../../../testUtils/testRule")
+
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
@@ -1,7 +1,7 @@
"use strict"
const mergeTestDescriptions = require("../../../testUtils/mergeTestDescriptions")
-const testRule = require("../../../testUtils/testRule")
+
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -1,7 +1,7 @@
"use strict"
const mergeTestDescriptions = require("../../../testUtils/mergeTestDescriptions")
-const testRule = require("../../../testUtils/testRule")
+
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
@@ -3,7 +3,6 @@
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
-const testRule = require("../../../testUtils/testRule")
const rule = rules[ruleName]
Oops, something went wrong.

0 comments on commit 16de92b

Please sign in to comment.