Skip to content

Commit 521a391

Browse files
committed
schema tests: output reason if "pass" test fixture fails
1 parent 3bc53b8 commit 521a391

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)