Skip to content

Commit

Permalink
docs(expect-expect): change suggested rule config (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
callumgare authored Apr 14, 2021
1 parent fb5eb5e commit 004a9cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/expect-expect.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ it('is money-like', () => {

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

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

Expand Down

0 comments on commit 004a9cb

Please sign in to comment.