@@ -36,7 +36,7 @@ import { KueryFilterQueryKind } from '../../store/model';
3636import { Note } from '../../lib/note' ;
3737import moment from 'moment' ;
3838import sinon from 'sinon' ;
39- import { TimelineType } from '../../../common/types/timeline' ;
39+ import { TimelineType , TimelineStatus } from '../../../common/types/timeline' ;
4040
4141jest . mock ( '../../store/inputs/actions' ) ;
4242jest . mock ( '../../store/timeline/actions' ) ;
@@ -299,8 +299,9 @@ describe('helpers', () => {
299299 columnId : '@timestamp' ,
300300 sortDirection : 'desc' ,
301301 } ,
302+ status : TimelineStatus . draft ,
302303 title : '' ,
303- timelineType : TimelineType . draft ,
304+ timelineType : TimelineType . default ,
304305 templateTimelineId : null ,
305306 templateTimelineVersion : null ,
306307 version : '1' ,
@@ -396,8 +397,9 @@ describe('helpers', () => {
396397 columnId : '@timestamp' ,
397398 sortDirection : 'desc' ,
398399 } ,
400+ status : TimelineStatus . draft ,
399401 title : '' ,
400- timelineType : TimelineType . draft ,
402+ timelineType : TimelineType . default ,
401403 templateTimelineId : null ,
402404 templateTimelineVersion : null ,
403405 version : '1' ,
@@ -517,7 +519,7 @@ describe('helpers', () => {
517519 } ,
518520 loadingEventIds : [ ] ,
519521 title : '' ,
520- timelineType : TimelineType . draft ,
522+ timelineType : TimelineType . default ,
521523 templateTimelineId : null ,
522524 templateTimelineVersion : null ,
523525 noteIds : [ ] ,
@@ -535,6 +537,7 @@ describe('helpers', () => {
535537 columnId : '@timestamp' ,
536538 sortDirection : 'desc' ,
537539 } ,
540+ status : TimelineStatus . draft ,
538541 width : 1100 ,
539542 id : 'savedObject-1' ,
540543 } ) ;
@@ -685,7 +688,7 @@ describe('helpers', () => {
685688 } ,
686689 loadingEventIds : [ ] ,
687690 title : '' ,
688- timelineType : TimelineType . draft ,
691+ timelineType : TimelineType . default ,
689692 templateTimelineId : null ,
690693 templateTimelineVersion : null ,
691694 noteIds : [ ] ,
@@ -703,6 +706,7 @@ describe('helpers', () => {
703706 columnId : '@timestamp' ,
704707 sortDirection : 'desc' ,
705708 } ,
709+ status : TimelineStatus . draft ,
706710 width : 1100 ,
707711 id : 'savedObject-1' ,
708712 } ) ;
0 commit comments