Skip to content

Commit

Permalink
fix: Prettier for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-stormtrooper committed Sep 11, 2023
1 parent 5219319 commit 573aae3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/jest-validate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,7 @@ Custom Deprecation:
```js
import {validate} from 'jest-validate';

validateCLIOptions(
argv,
{ ...allowedOptions, deprecatedOptions },
);
validateCLIOptions(argv, {...allowedOptions, deprecatedOptions});
```

If `argv` contains a deprecated option that is not specifid in `allowedOptions`, `validateCLIOptions` will throw an error with the message specified in the `deprecatedOptions` config:
Expand Down

0 comments on commit 573aae3

Please sign in to comment.