0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/test/unit/lib
Kevin Ansfield 0d82b3f92e Un-skipped populateImageSizes subdir test
refs 19c5e94259

- deleting `urlUtils` from the require cache caused problems in later unit tests that were stubbing `urlUtils` because they had required the `urlUtils` instance that existed before it got deleted/re-initialised in this test, so their modules under test ended up using non-stubbed instances
- fix by stubbing the `urlUtils` methods in this test too (we should probably fix this properly at some point so that config changes correctly propagate to `urlUtils` and we don't need to stub internals)
2020-06-23 15:54:58 +01:00
..
fs/package-json Colocated readCSV util with members input serializer 2020-06-19 18:24:51 +12:00
image Fixed non-reverted rewire of imageSize.getImageSizeFromUrl in tests 2020-06-16 20:58:02 +01:00
promise Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
security Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
external-request_spec.js Merge pull request from GHSA-4m2q-w26j-h268 2020-06-02 14:30:10 +01:00
ghost-version_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
mobiledoc_spec.js Un-skipped populateImageSizes subdir test 2020-06-23 15:54:58 +01:00
request_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00