0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test
Hannah Wolfe 069c344495
Switched new e2e-framework to use our own snapshot lib (#14137)
refs TryGhost/Toolbox#158
refs TryGhost/Toolbox#129 (comment)

We now have @tryghost/jest-snapshot - a suite of utilities for using snapshots with mocha, should, etc
The @tryghost/express-test lib also uses it to provide chained snapshot assertions

This library was created because all the existing implementations I could find, including the in use @ethanresnick/chai-jest-snapshot
didn't properly support property matching. @ethanresnick/chai-jest-snapshot supposedly supported it, but the implementation was incorrect
and frequently lead to false test passes.

This library also has (after some back and forth) path resolution so that snapshots can live in a local __snapshots__ folder
2022-02-08 14:33:19 +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
integration Updated tests to handle visibility tier 2022-02-01 11:13:51 +05:30
regression Switched new e2e-framework to use our own snapshot lib (#14137) 2022-02-08 14:33:19 +00:00
unit 🐛 Fixed AssetHelper not working with svg (#13978) 2022-02-07 15:07:18 +00:00
utils Switched new e2e-framework to use our own snapshot lib (#14137) 2022-02-08 14:33:19 +00:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js
.jshintrc