/**
 * Jasmine matchers that check Angular specific conditions.
 */ export interface NgMatchers extends jasmine . Matchers { toEqualText ( expected ) : boolean ; } const _global = < any > ( typeof window === 'undefined' ? global : window ) ; export const expect = < any > _global . expect ; export const customMatchers = { toEqualText : function ( ) { return { compare : function ( actualText , expectedText ) { return { pass : actualText . toLowerCase ( ) === expectedText . toLowerCase ( ) , get message ( ) { return 'Expected ' + actualText + ' to be equal to ' + expectedText ; } } ; } } ; } , } ;