0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/utils
Aileen Nowak 6c216b81be Request util to wrap got library (#8980)
no issue

This PR includes a new util which wraps the `got` library. It is not used in the codebase yet, but tested with `image-size` util:
- wraps `got` request library in its own `request.js` util that returns bluebird promises and validates URL before starting a request
- adds tests
2017-09-07 12:17:24 +01:00
..
blog-icon_spec.js Refactor: fetch image dimensions from local file storage (#8900) 2017-09-05 14:13:22 +02:00
cached-image-size-from-url_spec.js Tests: Stub image request for dimensions (#8973) 2017-09-05 16:24:04 +01:00
image-size_spec.js Add redirect test back for image-size test 🙈 (#8984) 2017-09-07 10:36:29 +01:00
make-absolute-urls_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
mobiledoc-converter_spec.js replace custom showdown fork with markdown-it (#8451) 2017-05-15 18:48:14 +02:00
packages_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
read-csv_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
request_spec.js Request util to wrap got library (#8980) 2017-09-07 12:17:24 +01:00
tokens_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
url_spec.js 🐛 Remove trailing slash for {{@blog.url}} (#8596) 2017-06-19 16:11:53 +02:00
zip-folder_spec.js 🐛 🔗 resolve symlinks before building zip (#8780) 2017-07-31 11:48:00 +04:00