0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test
Daniel Lockyer 8853067830 Added custom json-string format to AJV validator
no issue

- the value of `mobiledoc` when submitting a page/post via the API must
  be JSON, but we don't validate this
- this results in url-utils throwing an error, which ends up being a 500
- this commit adds a custom format to AJV to validate it is valid JSON
- also updates tests with bad JSON - 'a'
2020-04-17 11:56:20 +01:00
..
api-acceptance
frontend-acceptance
regression Fixed regression test for tag edit redirects 2020-04-16 22:10:28 +12:00
unit Added custom json-string format to AJV validator 2020-04-17 11:56:20 +01:00
utils
.eslintignore
.eslintrc.json Fixed linting error 2020-04-17 11:32:29 +01:00
.jshintrc