From d610c9a00f5b9ca608ff9a7fb1e0a2b21f5f9027 Mon Sep 17 00:00:00 2001 From: Mark Pedrotti Date: Wed, 14 Aug 2019 17:13:57 -0400 Subject: [PATCH] chore: Delete obsolete link and simplify structure in pretty-format README (#8824) --- CHANGELOG.md | 1 + packages/pretty-format/README.md | 17 ++++------------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 462ef8d981c9..94723846dfd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/pretty-format/README.md b/packages/pretty-format/README.md index dc7ad51fa156..4d0ce3acb2c9 100755 --- a/packages/pretty-format/README.md +++ b/packages/pretty-format/README.md @@ -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