Skip to content

Commit 146bfb6

Browse files
committed
fix tests
1 parent 645cc1f commit 146bfb6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/cubejs-schema-compiler/test/unit/cube-schema-converter.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { CubePreAggregationConverter, CubeSchemaConverter } from '../../src';
22
import {
33
createCubeSchema,
4-
createCubeSchemaWithCustomGranularities,
5-
createCubeSchemaYaml, createECommerceSchema,
4+
createCubeSchemaWithCustomGranularitiesAndTimeShift,
5+
createCubeSchemaYaml,
6+
createECommerceSchema,
67
createSchemaYaml
78
} from './utils';
89

@@ -16,7 +17,7 @@ const repo = {
1617
preAggregations: 'existing_pre_agg: {\n measures: [\n single_preagg_cube.count\n ],\n timeDimension: single_preagg_cube.createdAt,\n granularity: `month`\n}'
1718
})
1819
},
19-
{ fileName: 'orders_and_users.js', content: createCubeSchemaWithCustomGranularities('js_orders') },
20+
{ fileName: 'orders_and_users.js', content: createCubeSchemaWithCustomGranularitiesAndTimeShift('js_orders') },
2021
{ fileName: 'single_cube.yaml', content: createCubeSchemaYaml({ name: 'yml_orders', sqlTable: 'yml_orders' }) },
2122
{ fileName: 'multi_ecom.yaml', content: createSchemaYaml(createECommerceSchema()) },
2223
{ fileName: 'empty1.yaml', content: ' ' },

0 commit comments

Comments
 (0)