File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
x-pack/plugins/oss_telemetry/server/lib/tasks/visualizations Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
1313} from '../../../test_utils' ;
1414import { visualizationsTaskRunner } from './task_runner' ;
1515import { TaskInstance } from '../../../../../task_manager/server' ;
16+ import { getNextMidnight } from '../../get_next_midnight' ;
1617
1718describe ( 'visualizationsTaskRunner' , ( ) => {
1819 let mockTaskInstance : TaskInstance ;
@@ -41,12 +42,6 @@ describe('visualizationsTaskRunner', () => {
4142 } ) ;
4243
4344 test ( 'Summarizes visualization response data' , async ( ) => {
44- const getNextMidnight = ( ) =>
45- moment ( )
46- . add ( 1 , 'days' )
47- . startOf ( 'day' )
48- . toDate ( ) ;
49-
5045 const runner = visualizationsTaskRunner ( mockTaskInstance , getMockConfig ( ) , getMockEs ( ) ) ;
5146 const result = await runner ( ) ;
5247
You can’t perform that action at this time.
0 commit comments