import { testData } from 'test/data' ; import { getTopTopics } from './topics.selector' ; import { Topic } from 'shared-library/shared/model' ; describe ( 'Topics:Selector' , ( ) => { const topTopics = testData . topics ; it ( 'getTopTopics' , ( ) => { const state = { core : { topTopics } } ; expect ( getTopTopics ( state ) ) . toBe ( topTopics ) ; } ) ; } ) ;