0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/regression
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
..
api Abstracted sentEmail assertions as part of mock utils 2022-02-07 17:28:53 +00:00
mock-express-style Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
models Updated tests for default content visibility 2022-02-04 19:56:11 +05:30
site Upgraded remaining theme fixtures to canary API 2022-01-24 21:55:13 +00:00