0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/test
Katharina Irrgang be977a55cf 🎨 🚑 do not use testurl.com in tests (#8254)
no issue

- if we are using any random domain in our tests, it could be that the test behaviour changes over time
- in this case: the ghost_head_spec triggers a request for image diminsions (cover image, author image, blog logo)
- if the target blog url/domain can't be reached (connecting....), the timeout would be reached - but the test is not setup to handle longer waiting times
- even with https://github.com/TryGhost/Ghost/pull/8210/files, the default timeout would be 5s, which is not acceptable for a unit test
- that's why, we need to choose a blog url, which definitely is "down" - any long localhost port
2017-04-03 16:29:36 +01:00
..
functional 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
integration 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
unit 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00
utils suspend user feature (#8114) 2017-03-13 12:03:26 +00:00
.jshintrc