test: improve symbol-extractor test by ignoring $1 suffix (#28098)
PR Close #28098
This commit is contained in:

committed by
Andrew Kushnir

parent
da2880d7c4
commit
6a9a48b0ac
@ -31,7 +31,10 @@ export function isDifferent(a: any, b: any): boolean {
|
||||
return !(a !== a && b !== b) && a !== b;
|
||||
}
|
||||
|
||||
export function stringify(value: any): string {
|
||||
/**
|
||||
* Used for stringify render output in Ivy.
|
||||
*/
|
||||
export function renderStringify(value: any): string {
|
||||
if (typeof value == 'function') return value.name || value;
|
||||
if (typeof value == 'string') return value;
|
||||
if (value == null) return '';
|
||||
|
Reference in New Issue
Block a user