Skip to content

Commit

Permalink
chore(build): update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfiel committed Oct 27, 2023
1 parent a4df286 commit 9d26164
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion packages/core/src/__tests__/lint.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,24 @@ describe('lint', () => {
config: await makeConfig({ spec: 'error' }),
});

expect(replaceSourceWithRef(results)).toMatchInlineSnapshot(`[]`);
expect(replaceSourceWithRef(results)).toMatchInlineSnapshot(`
[
{
"from": undefined,
"location": [
{
"pointer": "#/components/callbacks/resultCallback/{$url}/post/requestBody/content/application~1json/schema/properties/test",
"reportOnKey": true,
"source": "foobar.yaml",
},
],
"message": "Property \`test\` is not expected here.",
"ruleId": "spec",
"severity": "error",
"suggest": [],
},
]
`);
});

it('should ignore error because ignore file passed', async () => {
Expand Down

0 comments on commit 9d26164

Please sign in to comment.