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 90a1b7a commit 4730865Copy full SHA for 4730865
test/schemaValidation.test.ts
@@ -1194,8 +1194,9 @@ obj:
1194
languageService.configure(kubernetesSettings);
1195
const content = `apiVersion: route.openshift.io/v1\nkind: Route\nfoo: bar`;
1196
const result = await parseSetup(content, 'invalid-oc.yml');
1197
- expect(result.length).to.eq(1);
1198
- expect(result[0].message).to.eq('Property foo is not allowed.');
+ expect(result.length).to.eq(2);
+ expect(result[0].message).to.eq('Missing property "spec".');
1199
+ expect(result[1].message).to.eq('Property foo is not allowed.');
1200
});
1201
1202
it('custom kubernetes schema version and openshift custom resource definition (CRD) should return validation errors', async () => {
0 commit comments