From dcd283a72145597b5550093f31b517d0ee75536d Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Wed, 15 Jan 2025 15:12:41 +0200 Subject: [PATCH] code polish (spaces + correct test name) --- .../postgres/pre-agg-allow-non-strict.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/cubejs-schema-compiler/test/integration/postgres/pre-agg-allow-non-strict.test.ts b/packages/cubejs-schema-compiler/test/integration/postgres/pre-agg-allow-non-strict.test.ts index 7779b7c2ca309..dee82a3d3b875 100644 --- a/packages/cubejs-schema-compiler/test/integration/postgres/pre-agg-allow-non-strict.test.ts +++ b/packages/cubejs-schema-compiler/test/integration/postgres/pre-agg-allow-non-strict.test.ts @@ -205,7 +205,7 @@ describe( const { compiler, joinGraph, cubeEvaluator } = prepareCompiler(getCube(true, false, false)); - + it('month query with the `month` granularity match `MonthlyData`', async () => { await compiler.compile(); const [request] = getQueries(compiler, joinGraph, cubeEvaluator); @@ -266,7 +266,7 @@ describe( const { compiler, joinGraph, cubeEvaluator } = prepareCompiler(getCube(false, true, false)); - + it('month query with the `month` granularity match `MonthlyData`', async () => { await compiler.compile(); const [request] = getQueries(compiler, joinGraph, cubeEvaluator); @@ -294,7 +294,7 @@ describe( expect(query.indexOf('cube__hourly_data')).toEqual(-1); }); - it('hour query with the `week` granularity match `HourlyData`', async () => { + it('hour query with the `week` granularity match `DailyData`', async () => { await compiler.compile(); const [,,, request] = getQueries(compiler, joinGraph, cubeEvaluator); const [query] = request.buildSqlAndParams(); @@ -327,7 +327,7 @@ describe( const { compiler, joinGraph, cubeEvaluator } = prepareCompiler(getCube(false, false, true)); - + it('month query with the `month` granularity match `MonthlyData`', async () => { await compiler.compile(); const [request] = getQueries(compiler, joinGraph, cubeEvaluator); @@ -388,7 +388,7 @@ describe( const { compiler, joinGraph, cubeEvaluator } = prepareCompiler(getCube(true, true, false)); - + it('month query with the `month` granularity match `MonthlyData`', async () => { await compiler.compile(); const [request] = getQueries(compiler, joinGraph, cubeEvaluator); @@ -449,7 +449,7 @@ describe( const { compiler, joinGraph, cubeEvaluator } = prepareCompiler(getCube(true, false, true)); - + it('month query with the `month` granularity match `MonthlyData`', async () => { await compiler.compile(); const [request] = getQueries(compiler, joinGraph, cubeEvaluator); @@ -510,7 +510,7 @@ describe( const { compiler, joinGraph, cubeEvaluator } = prepareCompiler(getCube(false, true, true)); - + it('month query with the `month` granularity match `MonthlyData`', async () => { await compiler.compile(); const [request] = getQueries(compiler, joinGraph, cubeEvaluator); @@ -571,7 +571,7 @@ describe( const { compiler, joinGraph, cubeEvaluator } = prepareCompiler(getCube(true, true, true)); - + it('month query with the `month` granularity match `MonthlyData`', async () => { await compiler.compile(); const [request] = getQueries(compiler, joinGraph, cubeEvaluator);