import { Transaction } from '../../../../../typings/es_schemas/ui/transaction' ; import configureStore from '../../../../../store/config/configureStore' ; import { getDiscoverQuery } from './discover_transaction_link' ; function getMockTransaction ( ) { return { transaction : { id : '8b60bd32ecc6e150' , } , trace : { id : '8b60bd32ecc6e1506735a8b6cfcf175c' , } , } as Transaction ; } describe ( 'getDiscoverQuery' , ( ) => { it ( 'should return the correct query params object' , ( ) => { const transaction = getMockTransaction ( ) ; const result = getDiscoverQuery ( transaction ) ; expect ( result ) . toMatchSnapshot ( ) ; } ) ; } ) ;