@@ -22,23 +22,23 @@ import moment from 'moment';
2222import ngMock from 'ng_mock' ;
2323import expect from '@kbn/expect' ;
2424import sinon from 'sinon' ;
25+ // eslint-disable-next-line @kbn/eslint/no-restricted-paths
26+ import { npStart } from 'ui/new_platform' ;
2527import { round } from 'lodash' ;
26- import { getAngularModule } from '../../get_inner_angular' ;
27- import { initTableVisLegacyModule } from '../../table_vis_legacy_module' ;
28+ // eslint-disable-next-line @kbn/eslint/no-restricted-paths
29+ import { getAngularModule } from '../../../../../../plugins/vis_type_table/public/get_inner_angular' ;
30+
31+ // eslint-disable-next-line @kbn/eslint/no-restricted-paths
32+ import { initTableVisLegacyModule } from '../../../../../../plugins/vis_type_table/public/table_vis_legacy_module' ;
2833import { tabifiedData } from './tabified_data' ;
29- import { coreMock } from '../../../../../core/public/mocks' ;
3034
3135describe ( 'Table Vis - AggTable Directive' , function ( ) {
3236 let $rootScope ;
3337 let $compile ;
3438 let settings ;
3539
3640 const initLocalAngular = ( ) => {
37- const tableVisModule = getAngularModule (
38- 'kibana/table_vis' ,
39- coreMock . createStart ( ) ,
40- coreMock . createPluginInitializerContext ( )
41- ) ;
41+ const tableVisModule = getAngularModule ( 'kibana/table_vis' , npStart . core , { dev : { } } ) ;
4242 initTableVisLegacyModule ( tableVisModule ) ;
4343 } ;
4444
0 commit comments