0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test
Hannah Wolfe b2a5bc980e
Abstracted sentEmail assertions as part of mock utils
The idea here is to keep the concept of _what_ we're asserting (that an email was sent)
away from the implementation of how we check that assertion

This means that tests can have a consistent api like .sentEmail(), and if we change how that function works,
we only have to update the assertion function in the MockManager

Much more cleanup to come behind the scenes, but the aim is to make the tests as clean as possible
2022-02-07 17:28:53 +00:00
..
e2e-api Added e2e test for comping Members (#14094) 2022-02-01 18:57:27 +02:00
e2e-frontend Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Updated tests to handle visibility tier 2022-02-01 11:13:51 +05:30
regression Abstracted sentEmail assertions as part of mock utils 2022-02-07 17:28:53 +00:00
unit 🐛 Fixed AssetHelper not working with svg (#13978) 2022-02-07 15:07:18 +00:00
utils Abstracted sentEmail assertions as part of mock utils 2022-02-07 17:28:53 +00:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc