mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Optimize getting injectable paths only once for all test suites (#6013)
This commit is contained in:
1 parent
17ddee2bde
commit
33834e34b7
4 files changed
+31
-46
No files matched your search
@@ -4,6 +4,11 @@
|
||||
*/
|
||||
import type { Injectable } from "@ogre-tools/injectable";
|
||||
|
||||
export interface GlobalOverride {
|
||||
injectable: Injectable<any, any, any>;
|
||||
overridingInstantiate: any;
|
||||
}
|
||||
|
||||
export const getGlobalOverride = <T extends Injectable<any, any, any>>(
|
||||
injectable: T,
|
||||
overridingInstantiate: T["instantiate"],
|
||||
|
||||
Reference in new issue
Block a user