mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Remove global mock of `plugin_loader` Removing this means we can get more accurate datasources behaviour in tests * Fix circular dependency/undefined method when plugin_loader is unmocked * Use optional chaining for trusted policies to stop tests failing when `bootData` is partially set * Add plugin_loader mock back into single test that is still broken * Revert trusted type policies changes * Fix tests that break with trusted type policies