Created
September 6, 2022 21:38
-
-
Save rhutchison/0cc722e8a1d174e1d1de972fd512e2fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const standaloneMocks: Type<any>[] = []; | |
TestBed.overrideComponent(component, { | |
remove: { imports: standaloneMocks }, | |
add: { imports: MockComponents(standaloneMocks) }, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment