Ran
|
Files
433
|
Run time
26s
|
Badge
README BADGES
|
push
github
fix tabs + localStorage Summary: Key fix is ```diff - 'Tabs:' + localStorageKeyOverride ?? keys.join(','), + 'Tabs:' + (localStorageKeyOverride ?? keys.join(',')), ``` Previously it worked like `('Tabs:' + localStorageKeyOverride) ?? keys.join(','),` which always evaluated to `"Tabs:undefined"`. This means that all tabs that were not using localStorageKeyOverride were reusing the same localstorage key. If you open some tabs with A, B, and C tabs. And open tab B. Then open other tabs with D, E, and F. No tab would be selected as the default value would be B. The second part it extracing keys from `items` prop instead of children. Reviewed By: lblasa Differential Revision: D50411422 fbshipit-source-id: 30f70c434
4200 of 9882 branches covered (0.0%)
Branch coverage included in aggregate %.
8513 of 16057 relevant lines covered (53.02%)
92.69 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|