@@ -557,12 +557,12 @@ describe('Schema Testing', () => {
557557
558558 describe ( 'Views' , ( ) => {
559559 it ( 'extends custom granularities and timeshifts' , async ( ) => {
560- const { compiler, metaTransformer } = prepareJsCompiler ( [
560+ const { compiler, cubeEvaluator } = prepareJsCompiler ( [
561561 createCubeSchemaWithCustomGranularitiesAndTimeShift ( 'orders' )
562562 ] ) ;
563563 await compiler . compile ( ) ;
564564
565- const { measures, dimensions } = metaTransformer . cubeEvaluator . evaluatedCubes . orders_view ;
565+ const { measures, dimensions } = cubeEvaluator . evaluatedCubes . orders_view ;
566566 expect ( dimensions . createdAt ) . toMatchSnapshot ( ) ;
567567 expect ( measures . count_shifted_year ) . toMatchSnapshot ( ) ;
568568 } ) ;
@@ -572,10 +572,10 @@ describe('Schema Testing', () => {
572572 path . join ( process . cwd ( ) , '/test/unit/fixtures/folders.yml' ) ,
573573 'utf8'
574574 ) ;
575- const { compiler, metaTransformer } = prepareYamlCompiler ( modelContent ) ;
575+ const { compiler, cubeEvaluator } = prepareYamlCompiler ( modelContent ) ;
576576 await compiler . compile ( ) ;
577577
578- const testView3 = metaTransformer . cubeEvaluator . evaluatedCubes . test_view3 ;
578+ const testView3 = cubeEvaluator . evaluatedCubes . test_view3 ;
579579 expect ( testView3 . dimensions ) . toMatchSnapshot ( ) ;
580580 expect ( testView3 . measures ) . toMatchSnapshot ( ) ;
581581 expect ( testView3 . measures ) . toMatchSnapshot ( ) ;
0 commit comments