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