Skip to content

Commit

Permalink
chore: Delete obsolete link and simplify structure in pretty-format R…
Browse files Browse the repository at this point in the history
…EADME (#8824)
  • Loading branch information
pedrottimark authored and SimenB committed Aug 14, 2019
1 parent abb760a commit d610c9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
- `[*]` Check copyright and license as one joined substring ([#8815](https://github.com/facebook/jest/pull/8815))
- `[docs]` Fix WatchPlugins `jestHooks.shouldRunTestSuite` example that receives an object ([#8784](https://github.com/facebook/jest/pull/8784))
- `[*]` Enforce LF line endings ([#8809](https://github.com/facebook/jest/pull/8809))
- `[pretty-format]` Delete obsolete link and simplify structure in README ([#8824](https://github.com/facebook/jest/pull/8824))

### Performance

Expand Down
17 changes: 4 additions & 13 deletions packages/pretty-format/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
# pretty-format

> Stringify any JavaScript value.
- Supports all built-in JavaScript types
- primitive types: `Boolean`, `null`, `Number`, `String`, `Symbol`, `undefined`
- other non-collection types: `Date`, `Error`, `Function`, `RegExp`
- collection types:
- `arguments`, `Array`, `ArrayBuffer`, `DataView`, `Float32Array`, `Float64Array`, `Int8Array`, `Int16Array`, `Int32Array`, `Uint8Array`, `Uint8ClampedArray`, `Uint16Array`, `Uint32Array`,
- `Map`, `Set`, `WeakMap`, `WeakSet`
- `Object`
- [Blazingly fast](https://gist.github.com/thejameskyle/2b04ffe4941aafa8f970de077843a8fd)
- similar performance to `JSON.stringify` in v8
- significantly faster than `util.format` in Node.js
- Serialize application-specific data types with built-in or user-defined plugins
Stringify any JavaScript value.

- Serialize built-in JavaScript types.
- Serialize application-specific data types with built-in or user-defined plugins.

## Installation

Expand Down

0 comments on commit d610c9a

Please sign in to comment.