Skip to content

Commit c555c94

Browse files
authored
Merge pull request #4455 from ralfhandl/dev-schema-tests.-with-diagnostics
dev: schema tests output reason if "pass" test fixture fails
2 parents fcc25e5 + 521a391 commit c555c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/schema/schema.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe("v3.1", () => {
3737
test(entry.name, () => {
3838
const instance = parseYamlFromFile(`${fixtures}/pass/${entry.name}`);
3939
const output = validateOpenApi(instance, BASIC);
40-
expect(output.valid).to.equal(true);
40+
expect(output).to.deep.equal({ valid: true });
4141
});
4242
});
4343
});

0 commit comments

Comments
 (0)