Files
react-native/Libraries
Georgios Andreadis 47e061549f Add tests for utility functions of library (#23903)
Summary:
I was looking at the coverage report of the JavaScript code in the `Libraries` folder, and found some of the modules and functions to be (partially) untested. I believe that adding tests to them would formally capture their behaviour and avoid future regressions. In this PR, I've added some unit tests for 3 utility components.

Perhaps a more general question: Are these kinds of PRs appreciated? I'd be interested in submitting more of them in the future.

Not applicable, since it only adds tests.
Pull Request resolved: https://github.com/facebook/react-native/pull/23903

Differential Revision: D14477601

Pulled By: cpojer

fbshipit-source-id: c0700c5b514cd0df983fecfd91c93fc2bd049f5d
2019-03-15 04:46:48 -07:00
..
2019-02-28 09:46:05 -08:00
2019-03-14 07:00:27 -07:00
2018-12-11 20:01:00 -08:00
2019-03-06 14:57:30 -08:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-01-17 02:41:59 -08:00
2018-10-31 01:37:26 -07:00
2019-03-06 14:57:30 -08:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-03-06 14:57:30 -08:00