We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a1603 commit b0aeb4bCopy full SHA for b0aeb4b
packages/cubejs-schema-compiler/test/unit/yaml-schema.test.ts
@@ -119,7 +119,7 @@ describe('Yaml Schema Testing', () => {
119
const { compiler } = prepareYamlCompiler(
120
`cubes:
121
- name: Products
122
- sql: select { "string"+123 } from tbl
+ sql: select { 123abc } from tbl
123
dimensions:
124
`
125
);
@@ -223,7 +223,9 @@ describe('Yaml Schema Testing', () => {
223
224
throw new Error('compile must return an error');
225
} catch (e: any) {
226
- expect(e.message).toContain('Users cube: "title" must be a string');
+ expect(e.message).toMatch(
227
+ /Users cube: "title" (must be a string|is not allowed to be empty)/
228
+ );
229
}
230
});
231
0 commit comments