Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
expect( Autolinker.EmailMatcher.name ).toBe( 'EmailMatcher' ); // function name
expect( Autolinker.EmailMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
expect( Autolinker.HashtagMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.HashtagMatcher.name ).toBe( 'HashtagMatcher' ); // function name
expect( Autolinker.HashtagMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
expect( Autolinker.MentionMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.MentionMatcher.name ).toBe( 'MentionMatcher' ); // function name
expect( Autolinker.MentionMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
expect( Autolinker.PhoneMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.PhoneMatcher.name ).toBe( 'PhoneMatcher' ); // function name
expect( Autolinker.PhoneMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
expect( Autolinker.UrlMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.UrlMatcher.name ).toBe( 'UrlMatcher' ); // function name
expect( Autolinker.UrlMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
} );
expect( Autolinker.HashtagMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.HashtagMatcher.name ).toBe( 'HashtagMatcher' ); // function name
expect( Autolinker.HashtagMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
expect( Autolinker.MentionMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.MentionMatcher.name ).toBe( 'MentionMatcher' ); // function name
expect( Autolinker.MentionMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
expect( Autolinker.PhoneMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.PhoneMatcher.name ).toBe( 'PhoneMatcher' ); // function name
expect( Autolinker.PhoneMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
expect( Autolinker.UrlMatcher ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.UrlMatcher.name ).toBe( 'UrlMatcher' ); // function name
expect( Autolinker.UrlMatcher.prototype.parseMatches ).toEqual( jasmine.any( Function ) );
} );