Publish NPM #35
Annotations
4 errors and 1 warning
test/query.test.ts > getUnpivotQuery > should build unpivot query correctly for barX type:
test/query.test.ts#L102
AssertionError: expected 'CREATETABLEreshapedasSELECT"y1"asy,va…' to be 'CREATETABLEreshapedasSELECT"y1"asy,va…' // Object.is equality
Expected: "CREATETABLEreshapedasSELECT"y1"asy,valueASx,keyASseriesFROM"yourTableName"UNPIVOT(valueFORkeyIN("x1","x2"));"
Received: "CREATETABLEreshapedasSELECT"y1"asy,valueASx,keyASseriesFROMyourTableNameUNPIVOT(valueFORkeyIN("x1","x2"));"
❯ test/query.test.ts:102:43
|
test/query.test.ts > getUnpivotQuery > should build unpivot query correctly for barX type with fy:
test/query.test.ts#L119
AssertionError: expected 'CREATE TABLE reshaped as SELECT "y1" …' to be 'CREATE TABLE reshaped as SELECT "y1" …' // Object.is equality
- Expected
+ Received
- CREATE TABLE reshaped as SELECT "y1" as y, value AS x, concat_ws('-', "fy 1", "fy 2") as fy, key AS series FROM "yourTableName"
+ CREATE TABLE reshaped as SELECT "y1" as y, value AS x, concat_ws('-', "fy 1", "fy 2") as fy, key AS series FROM yourTableName
UNPIVOT (value FOR key IN ("x1", "x2"));
❯ test/query.test.ts:119:70
|
test/query.test.ts > getUnpivotQuery > should build unpivot query correctly for area type with fy:
test/query.test.ts#L137
AssertionError: expected 'CREATETABLEreshapedasSELECT"x1"asx,va…' to be 'CREATETABLEreshapedasSELECT"x1"asx,va…' // Object.is equality
Expected: "CREATETABLEreshapedasSELECT"x1"asx,valueASy,concat_ws('-',"fy1","fy2")asfy,keyASseriesFROM"yourTableName"UNPIVOT(valueFORkeyIN("y1","y2"));"
Received: "CREATETABLEreshapedasSELECT"x1"asx,valueASy,concat_ws('-',"fy1","fy2")asfy,keyASseriesFROMyourTableNameUNPIVOT(valueFORkeyIN("y1","y2"));"
❯ test/query.test.ts:137:43
|
publish npm
Process completed with exit code 1.
|
publish npm
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|