Skip to content

Commit 004a9cb

Browse files
authored
docs(expect-expect): change suggested rule config (#825)
1 parent fb5eb5e commit 004a9cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/expect-expect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ it('is money-like', () => {
8787

8888
Examples of **correct** code for working with the HTTP assertions library
8989
[SuperTest](https://www.npmjs.com/package/supertest) with the
90-
`{ "assertFunctionNames": ["expect", "request.*.expect"] }` option:
90+
`{ "assertFunctionNames": ["expect", "request.**.expect"] }` option:
9191

9292
```js
93-
/* eslint jest/expect-expect: ["error", { "assertFunctionNames": ["expect", "request.*.expect"] }] */
93+
/* eslint jest/expect-expect: ["error", { "assertFunctionNames": ["expect", "request.**.expect"] }] */
9494
const request = require('supertest');
9595
const express = require('express');
9696

0 commit comments

Comments
 (0)