grafana/public/app/features/plugins/admin/pages
Levente Balogh 3c433dc36d
Plugins Catalog: refactor the mocking for our tests (#39165)
* refactor(Plugins/Admin): add a type for version coming back from the API

* refactor(Plugins/Admin): only add necessary version information to the state

* test(Plugins/Admin): add a mock for a CatalogPlugin

* test(Plugins/ADmin): add a mock for a LocalPlugin

* test(Plugins/Admin): add a test for a RemotePlugin

* test(Plugins/Admin): add helpers for mocking plugin states

* refactor(Plugins/Admin): mock the Redux state instead of the API responses

This makes it simpler to add new test cases and also makes
the tests easier to reason about.

* refactor(Plugins/Admin): mock the Redux state instead of the API responses
2021-09-14 16:44:13 +02:00
..
Browse.test.tsx Plugins Catalog: refactor the mocking for our tests (#39165) 2021-09-14 16:44:13 +02:00
Browse.tsx Plugins Catalog: migrate state handling to Redux (#38876) 2021-09-09 12:20:35 +02:00
NotEnabed.tsx Plugins: converted the plugins admin app to a core feature in grafana (#36026) 2021-07-08 17:50:42 +02:00
PluginDetails.test.tsx Plugins Catalog: refactor the mocking for our tests (#39165) 2021-09-14 16:44:13 +02:00
PluginDetails.tsx Plugins Catalog: migrate state handling to Redux (#38876) 2021-09-09 12:20:35 +02:00