Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it( `AnchorTagBuilder should be a top-level named export of 'autolinker'`, () => {
expect( Autolinker.AnchorTagBuilder ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.AnchorTagBuilder.name ).toBe( 'AnchorTagBuilder' ); // function name
expect( Autolinker.AnchorTagBuilder.prototype.build ).toEqual( jasmine.any( Function ) );
} );
it( `AnchorTagBuilder should be a top-level named export of 'autolinker'`, () => {
expect( Autolinker.AnchorTagBuilder ).toEqual( jasmine.any( Function ) ); // constructor function
expect( Autolinker.AnchorTagBuilder.name ).toBe( 'AnchorTagBuilder' ); // function name
expect( Autolinker.AnchorTagBuilder.prototype.build ).toEqual( jasmine.any( Function ) );
} );