Skip to content

Commit d0cd6ef

Browse files
committed
update snapshots
1 parent dce9e3a commit d0cd6ef

File tree

1 file changed

+40
-60
lines changed

1 file changed

+40
-60
lines changed

packages/cubejs-schema-compiler/test/unit/__snapshots__/schema.test.ts.snap

Lines changed: 40 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,6 +1689,46 @@ Object {
16891689
}
16901690
`;
16911691

1692+
exports[`Schema Testing Joins join types (joins as array) 1`] = `
1693+
Array [
1694+
Object {
1695+
"name": "CubeB",
1696+
"relationship": "hasOne",
1697+
"sql": [Function],
1698+
},
1699+
Object {
1700+
"name": "CubeC",
1701+
"relationship": "hasMany",
1702+
"sql": [Function],
1703+
},
1704+
Object {
1705+
"name": "CubeD",
1706+
"relationship": "belongsTo",
1707+
"sql": [Function],
1708+
},
1709+
]
1710+
`;
1711+
1712+
exports[`Schema Testing Joins join types (joins as object) 1`] = `
1713+
Array [
1714+
Object {
1715+
"name": "CubeB",
1716+
"relationship": "hasOne",
1717+
"sql": [Function],
1718+
},
1719+
Object {
1720+
"name": "CubeC",
1721+
"relationship": "hasMany",
1722+
"sql": [Function],
1723+
},
1724+
Object {
1725+
"name": "CubeD",
1726+
"relationship": "belongsTo",
1727+
"sql": [Function],
1728+
},
1729+
]
1730+
`;
1731+
16921732
exports[`Schema Testing Views allows to override \`title\`, \`description\`, \`meta\`, and \`format\` on includes members 1`] = `
16931733
Object {
16941734
"accessPolicy": undefined,
@@ -2090,63 +2130,3 @@ Array [
20902130
},
20912131
]
20922132
`;
2093-
2094-
exports[`Schema Testing join types (joins as array) 1`] = `
2095-
Array [
2096-
Object {
2097-
"name": "CubeB",
2098-
"relationship": "hasOne",
2099-
"sql": [Function],
2100-
},
2101-
Object {
2102-
"name": "CubeC",
2103-
"relationship": "hasMany",
2104-
"sql": [Function],
2105-
},
2106-
Object {
2107-
"name": "CubeD",
2108-
"relationship": "belongsTo",
2109-
"sql": [Function],
2110-
},
2111-
]
2112-
`;
2113-
2114-
exports[`Schema Testing join types (joins as object) 1`] = `
2115-
Array [
2116-
Object {
2117-
"name": "CubeB",
2118-
"relationship": "hasOne",
2119-
"sql": [Function],
2120-
},
2121-
Object {
2122-
"name": "CubeC",
2123-
"relationship": "hasMany",
2124-
"sql": [Function],
2125-
},
2126-
Object {
2127-
"name": "CubeD",
2128-
"relationship": "belongsTo",
2129-
"sql": [Function],
2130-
},
2131-
]
2132-
`;
2133-
2134-
exports[`Schema Testing join types 1`] = `
2135-
Array [
2136-
Object {
2137-
"name": "CubeB",
2138-
"relationship": "hasOne",
2139-
"sql": [Function],
2140-
},
2141-
Object {
2142-
"name": "CubeC",
2143-
"relationship": "hasMany",
2144-
"sql": [Function],
2145-
},
2146-
Object {
2147-
"name": "CubeD",
2148-
"relationship": "belongsTo",
2149-
"sql": [Function],
2150-
},
2151-
]
2152-
`;

0 commit comments

Comments
 (0)