@cubejs-backend/testing 0.34.58 → 0.34.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
cube(`BigOrders`, {
|
|
2
|
+
sql: `
|
|
3
|
+
select * from (
|
|
4
|
+
select 1 as id, 100 as amount, 'new' status, '2024-01-01'::timestamptz created_at
|
|
5
|
+
UNION ALL
|
|
6
|
+
select 2 as id, 200 as amount, 'new' status, '2024-01-02'::timestamptz created_at
|
|
7
|
+
UNION ALL
|
|
8
|
+
select 3 as id, 300 as amount, 'processed' status, '2024-01-03'::timestamptz created_at
|
|
9
|
+
UNION ALL
|
|
10
|
+
select 4 as id, 500 as amount, 'processed' status, '2024-01-04'::timestamptz created_at
|
|
11
|
+
UNION ALL
|
|
12
|
+
select 5 as id, 600 as amount, 'shipped' status, '2024-01-05'::timestamptz created_at
|
|
13
|
+
) data
|
|
14
|
+
CROSS JOIN GENERATE_SERIES(1, 20000) value
|
|
15
|
+
`,
|
|
16
|
+
measures: {
|
|
17
|
+
totalAmount: {
|
|
18
|
+
sql: `amount`,
|
|
19
|
+
type: `sum`,
|
|
20
|
+
},
|
|
21
|
+
toRemove: {
|
|
22
|
+
type: `count`,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
dimensions: {
|
|
26
|
+
id: {
|
|
27
|
+
sql: `id`,
|
|
28
|
+
type: `number`,
|
|
29
|
+
primaryKey: true,
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
status: {
|
|
33
|
+
sql: `status`,
|
|
34
|
+
type: `string`,
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
createdAt: {
|
|
38
|
+
sql: `created_at`,
|
|
39
|
+
type: `time`
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-backend/testing",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.60",
|
|
4
4
|
"description": "Cube.js e2e tests",
|
|
5
5
|
"author": "Cube Dev, Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
"birdbox-fixtures"
|
|
88
88
|
],
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@cubejs-backend/cubestore-driver": "^0.34.
|
|
90
|
+
"@cubejs-backend/cubestore-driver": "^0.34.60",
|
|
91
91
|
"@cubejs-backend/dotenv": "^9.0.2",
|
|
92
|
-
"@cubejs-backend/postgres-driver": "^0.34.
|
|
93
|
-
"@cubejs-backend/query-orchestrator": "^0.34.
|
|
94
|
-
"@cubejs-backend/schema-compiler": "^0.34.
|
|
95
|
-
"@cubejs-backend/shared": "^0.34.
|
|
96
|
-
"@cubejs-backend/testing-shared": "^0.34.
|
|
97
|
-
"@cubejs-client/ws-transport": "^0.34.
|
|
92
|
+
"@cubejs-backend/postgres-driver": "^0.34.60",
|
|
93
|
+
"@cubejs-backend/query-orchestrator": "^0.34.60",
|
|
94
|
+
"@cubejs-backend/schema-compiler": "^0.34.60",
|
|
95
|
+
"@cubejs-backend/shared": "^0.34.60",
|
|
96
|
+
"@cubejs-backend/testing-shared": "^0.34.60",
|
|
97
|
+
"@cubejs-client/ws-transport": "^0.34.60",
|
|
98
98
|
"dedent": "^0.7.0",
|
|
99
99
|
"fs-extra": "^8.1.0",
|
|
100
100
|
"http-proxy": "^1.18.1",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"@4tw/cypress-drag-drop": "^1.6.0",
|
|
108
108
|
"@cubejs-backend/linter": "^0.34.25",
|
|
109
|
-
"@cubejs-client/core": "^0.34.
|
|
109
|
+
"@cubejs-client/core": "^0.34.60",
|
|
110
110
|
"@jest/globals": "^27",
|
|
111
111
|
"@types/dedent": "^0.7.0",
|
|
112
112
|
"@types/http-proxy": "^1.17.5",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"eslintConfig": {
|
|
143
143
|
"extends": "../cubejs-linter"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "7434929be3e99eb1d1fbb8a6b6c7f2427c6fcae6"
|
|
146
146
|
}
|