Skip to content

Commit

Permalink
lint and bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Aug 14, 2023
1 parent 69d97fb commit 3f06bcc
Show file tree
Hide file tree
Showing 4 changed files with 735 additions and 6 deletions.
4 changes: 3 additions & 1 deletion __tests__/functions/json-validator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ test('successfully validates a json file with a schema and defaults to the draft
expect(debugMock).toHaveBeenCalledWith(
'using ajv-formats with json-validator'
)
expect(warningMock).toHaveBeenCalledWith(`json_schema_version '${badJsonSchemaVersion}' is not supported. Defaulting to 'draft-07'`)
expect(warningMock).toHaveBeenCalledWith(
`json_schema_version '${badJsonSchemaVersion}' is not supported. Defaulting to 'draft-07'`
)
})

test('successfully validates a json file without using a schema', async () => {
Expand Down
Loading

0 comments on commit 3f06bcc

Please sign in to comment.