import 'react-dom' ; jest . mock ( 'react-dom' ) ; import { Run } from 'sarif' ; import { RunStore } from './RunStore' ; import { Viewer } from './Viewer' ; import { MobxFilter } from './FilterBar' ; jest . mock ( './FilterBar' ) ; it ( 'does not explode' , ( ) => { const run = { tool : { driver : { name : "Sample Tool" } } , results : [ { message : { text : 'Message 1' } , } ] , } as Run ; const runStore = new RunStore ( run , 0 , new MobxFilter ( ) ) ; } ) ; it ( 'handles multiple logs' , ( ) => { const viewer = new Viewer ( { } ) ; } ) ;