Commit 245e97e
committed
Fix ReactHooksInspection-test.js (#28520)
## Summary
Currently, `ReactHooksInspection-test.js` fails because something is
polluting the resulting `Promise` with symbol properties. This changes
the unit test to be more resilient to such symbol properties.
## How did you test this change?
Ran the following successfully:
```
$ yarn test
```
DiffTrain build for commit c35b9b0.1 parent 4d2eb5f commit 245e97e
File tree
7 files changed
+9
-9
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
7 files changed
+9
-9
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25736 | 25736 | | |
25737 | 25737 | | |
25738 | 25738 | | |
25739 | | - | |
| 25739 | + | |
25740 | 25740 | | |
25741 | 25741 | | |
25742 | 25742 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9178 | 9178 | | |
9179 | 9179 | | |
9180 | 9180 | | |
9181 | | - | |
| 9181 | + | |
9182 | 9182 | | |
9183 | 9183 | | |
9184 | 9184 | | |
| |||
9209 | 9209 | | |
9210 | 9210 | | |
9211 | 9211 | | |
9212 | | - | |
| 9212 | + | |
9213 | 9213 | | |
9214 | 9214 | | |
9215 | 9215 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9606 | 9606 | | |
9607 | 9607 | | |
9608 | 9608 | | |
9609 | | - | |
| 9609 | + | |
9610 | 9610 | | |
9611 | 9611 | | |
9612 | 9612 | | |
| |||
9637 | 9637 | | |
9638 | 9638 | | |
9639 | 9639 | | |
9640 | | - | |
| 9640 | + | |
9641 | 9641 | | |
9642 | 9642 | | |
9643 | 9643 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
| 601 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments