mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
b2a5bc980e
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 |
||
---|---|---|
.. | ||
fixtures | ||
mocks | ||
admin-utils.js | ||
api.js | ||
assertions.js | ||
configUtils.js | ||
db-utils.js | ||
e2e-framework-mock-utils.js | ||
e2e-framework.js | ||
e2e-utils.js | ||
fixture-utils.js | ||
index.js | ||
overrides.js | ||
redirects.js | ||
snapshots.js | ||
test-agent.js | ||
url-service-utils.js | ||
urlUtils.js |