0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/regression
Naz 5a150cc3b6 Removed duplicate snapshot initialization code
refs https://github.com/TryGhost/Toolbox/issues/158

- Allows for much smaller amount of code to configure a test to work with chai-jest-snapshots. They now work automatically for all regression tests and could be enabled for other suites by adding the "--require=./test/utils/snapshots.js" parameter in respective test:* package script
- Regenerated snapshot for authentication test as the naming structure
changed a little with the snapshot metadata being taken on a higher
level in the test (uses the suite name instead of a specific describe it
used to be called from)
2021-12-10 06:37:31 +13:00
..
api Removed duplicate snapshot initialization code 2021-12-10 06:37:31 +13:00
mock-express-style Cleaned up mock-express tests from unnecessary inits 2021-12-06 21:28:53 +13:00
models Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
services 🐛 Fixed setting Tier prices after changing Stripe accounts 2021-11-10 14:03:03 +02:00
site Moved custom routes test to e2e frontend suite 2021-11-30 20:14:51 +13:00