0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/test/regression/api/v2/admin
Naz 4cdcb16e49 Refactored regression users tests to use async/await
refs https://github.com/TryGhost/Toolbox/issues/138

- This is a continuation of a bigger refactor to use async/await syntax before migrating "startGhost" methods to only use backend boot
- Removed a little bit of dead code (like admin user creation) which should speed up test execution too!
- Refactored user variables to be declared closer to their usecases instead of being high up in a global scope - variables shoul not live that far apart from the code that uses them
2021-11-25 03:20:47 +13:00
..
authentication.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
db.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
images.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
notifications.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
oembed.test.js Removed use of ghostServer variable pattern 2021-11-25 03:20:47 +13:00
pages.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
posts.test.js Removed "ghost = testUtils.startGhost" pattern 2021-11-25 03:20:47 +13:00
redirects.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
schedules.test.js Removed "ghost = testUtils.startGhost" pattern 2021-11-25 03:20:47 +13:00
settings.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
site.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
slack.test.js Refactored regression tests to use async/await 2021-11-25 03:20:47 +13:00
users.test.js Refactored regression users tests to use async/await 2021-11-25 03:20:47 +13:00
utils.js Refactored test utils "post" properties 2021-05-13 15:41:27 +04:00
webhooks.test.js Removed "ghost = testUtils.startGhost" pattern 2021-11-25 03:20:47 +13:00