eslint-plugin-jest 24.4.1 → 24.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [24.4.2](https://github.com/jest-community/eslint-plugin-jest/compare/v24.4.1...v24.4.2) (2021-09-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use correct property `hasSuggestions` rather than `hasSuggestion` ([#899](https://github.com/jest-community/eslint-plugin-jest/issues/899)) ([dfd2368](https://github.com/jest-community/eslint-plugin-jest/commit/dfd2368d1cb1789b6a95a11be24c36868bb8a819))
7
+
1
8
  ## [24.4.1](https://github.com/jest-community/eslint-plugin-jest/compare/v24.4.0...v24.4.1) (2021-09-17)
2
9
 
3
10
 
@@ -204,11 +204,11 @@ specific Jest test function groups (`describe`, `test`, and `it`).
204
204
  Examples of **incorrect** code when using `mustMatch`:
205
205
 
206
206
  ```js
207
- // with mustMatch: '$that'
207
+ // with mustMatch: '^that'
208
208
  describe('the correct way to do things', () => {});
209
209
  fit('this there!', () => {});
210
210
 
211
- // with mustMatch: { test: '$that' }
211
+ // with mustMatch: { test: '^that' }
212
212
  describe('the tests that will be run', () => {});
213
213
  test('the stuff works', () => {});
214
214
  xtest('errors that are thrown have messages', () => {});
@@ -217,11 +217,11 @@ xtest('errors that are thrown have messages', () => {});
217
217
  Examples of **correct** code when using `mustMatch`:
218
218
 
219
219
  ```js
220
- // with mustMatch: '$that'
220
+ // with mustMatch: '^that'
221
221
  describe('that thing that needs to be done', () => {});
222
222
  fit('that this there!', () => {});
223
223
 
224
- // with mustMatch: { test: '$that' }
224
+ // with mustMatch: { test: '^that' }
225
225
  describe('the tests that will be run', () => {});
226
226
  test('that the stuff works', () => {});
227
227
  xtest('that errors that thrown have messages', () => {});
@@ -41,7 +41,7 @@ var _default = (0, _utils.createRule)({
41
41
  },
42
42
  schema: [],
43
43
  type: 'suggestion',
44
- hasSuggestion: true
44
+ hasSuggestions: true
45
45
  },
46
46
  defaultOptions: [],
47
47
 
@@ -42,7 +42,7 @@ var _default = (0, _utils.createRule)({
42
42
  },
43
43
  schema: [],
44
44
  type: 'suggestion',
45
- hasSuggestion: true
45
+ hasSuggestions: true
46
46
  },
47
47
  defaultOptions: [],
48
48
  create: context => ({
@@ -39,7 +39,7 @@ var _default = (0, _utils.createRule)({
39
39
  suggestRemovingExtraArguments: 'Remove extra arguments'
40
40
  },
41
41
  type: 'suggestion',
42
- hasSuggestion: true,
42
+ hasSuggestions: true,
43
43
  schema: [{
44
44
  type: 'object',
45
45
  properties: {
@@ -22,7 +22,7 @@ var _default = (0, _utils.createRule)({
22
22
  },
23
23
  type: 'suggestion',
24
24
  schema: [],
25
- hasSuggestion: true
25
+ hasSuggestions: true
26
26
  },
27
27
  defaultOptions: [],
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-jest",
3
- "version": "24.4.1",
3
+ "version": "24.4.2",
4
4
  "description": "Eslint rules for Jest",
5
5
  "keywords": [
6
6
  "eslint",