Repository navigation
Commit dc8d8a1
committed
Add
Fantom's runtime installed `describe`, `it` and `test` without the `.each` forms that the Flow Jest libdef declares, so a table test passed Flow and threw when it ran. Each declaration and its `only` and `skip` forms now get an `each` in jest-each's forms: array tables with printf placeholders, object tables with `$key` titles, and tagged template tables; an `it.each` or `test.each` table it cannot read declares one failing test that says why, and a `describe.each` one fails the file. The libdef gives `describe.only`, `describe.skip` and `fit` an `each`, as Jest's own types do..each to Fantom's describe, it and test
1 parent e812580 commit dc8d8a1
6 files changed
Lines changed: 820 additions & 11 deletions
File tree
- flow-typed/environment
- private/react-native-fantom
- __docs__
- runtime
- __tests__
- src/__tests__/setup
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
1038 | | - | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
1039 | 1050 | | |
1040 | 1051 | | |
1041 | 1052 | | |
1042 | | - | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1043 | 1065 | | |
1044 | 1066 | | |
1045 | 1067 | | |
| |||
1136 | 1158 | | |
1137 | 1159 | | |
1138 | 1160 | | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
| 1161 | + | |
1144 | 1162 | | |
1145 | 1163 | | |
1146 | 1164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| |||
0 commit comments