1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/dashboard/client/api/__test__
Sebastian Malton d821b18346
fix parseApi to not throw and to match apiVersion more specifically (#496)
* remove the explicit throw is new parseApi

* fix parseApi to be more consitent with the older version

- Add many more unit tests (these are exact copies of the old behaviour
  so that any changes do not change behaviour)

- Make explicit, with documentation, why certain actions are being taken
  with the parsing of the api URL parts

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-22 11:55:03 -04:00
..
parseAPI.test.ts fix parseApi to not throw and to match apiVersion more specifically (#496) 2020-06-22 11:55:03 -04:00