You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can read more about `jest-changed-files` in the [readme file](https://github.com/facebook/jest/blob/master/packages/jest-changed-files/README.md).
30
+
You can read more about `jest-changed-files` in the
Tool for visualizing changes in data. Exports a function that compares two values of any type and returns a "pretty-printed" string illustrating the difference between the two arguments.
35
+
Tool for visualizing changes in data. Exports a function that compares two
36
+
values of any type and returns a "pretty-printed" string illustrating the
37
+
difference between the two arguments.
32
38
33
39
### Example
34
40
35
-
```javascript
41
+
```javascript
36
42
constdiff=require('jest-diff');
37
43
38
44
consta= {a: {b: {c:5}}};
@@ -46,12 +52,13 @@ console.log(result);
46
52
47
53
## jest-docblock
48
54
49
-
Tool for extracting and parsing the comments at the top of a JavaScript file. Exports various function to manipulate the data inside the comment block.
55
+
Tool for extracting and parsing the comments at the top of a JavaScript file.
56
+
Exports various function to manipulate the data inside the comment block.
Module that identifies the primitive type of any JavaScript value. Exports a function that returns a string with the type of the value passed as argument.
84
+
Module that identifies the primitive type of any JavaScript value. Exports a
85
+
function that returns a string with the type of the value passed as argument.
Tool for validating configurations submitted by users. Exports a function that takes two arguments: the user's configuration and an object containing an example configuration and other options. The return value is an object with two attributes:
106
+
Tool for validating configurations submitted by users. Exports a function that
107
+
takes two arguments: the user's configuration and an object containing an
108
+
example configuration and other options. The return value is an object with two
109
+
attributes:
97
110
98
-
-`hasDeprecationWarnings`, a boolean indicating whether the submitted configuration has deprecation warnings,
99
-
-`isValid`, a boolean indicating whether the configuration is correct or not.
111
+
*`hasDeprecationWarnings`, a boolean indicating whether the submitted
112
+
configuration has deprecation warnings,
113
+
*`isValid`, a boolean indicating whether the configuration is correct or not.
Module used for parallelization of tasks. Exports a class `Worker` that takes the path of Node.js module and lets you call the module's exported methods as if they where class methods, returning a promise that resolves when the specified method finishes its execution in a forked process.
137
+
Module used for parallelization of tasks. Exports a class `Worker` that takes
138
+
the path of Node.js module and lets you call the module's exported methods as if
139
+
they where class methods, returning a promise that resolves when the specified
140
+
method finishes its execution in a forked process.
Exports a function that converts any JavaScript value into a human-readable string. Supports all built-in JavaScript types out of the box and allows extension for application-specific types via user-defined plugins.
177
+
Exports a function that converts any JavaScript value into a human-readable
178
+
string. Supports all built-in JavaScript types out of the box and allows
179
+
extension for application-specific types via user-defined plugins.
0 commit comments