test(ivy): add testing utility to replace loadDirective (#26316)
PR Close #26316
This commit is contained in:

committed by
Jason Aden

parent
456f23f76a
commit
b0879046b7
@ -104,7 +104,7 @@ export function getDirectives(target: {}): Array<{}> {
|
||||
const context = loadContext(target) !;
|
||||
|
||||
if (context.directives === undefined) {
|
||||
context.directives = discoverDirectives(context.nodeIndex, context.lViewData);
|
||||
context.directives = discoverDirectives(context.nodeIndex, context.lViewData, false);
|
||||
}
|
||||
|
||||
return context.directives || [];
|
||||
|
Reference in New Issue
Block a user