0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test
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
..
e2e-api Moved locale testing out of casper fixture (#13850) 2021-12-06 15:11:54 +00:00
e2e-frontend Removed unused sinon referece 2021-11-30 20:14:51 +13:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Removed unnecessary rewire call 2021-11-22 14:53:16 +04:00
regression Removed duplicate snapshot initialization code 2021-12-10 06:37:31 +13:00
unit Revert "Remove unnecessary references to ghostVersion" 2021-12-08 14:28:41 +00:00
utils Removed duplicate snapshot initialization code 2021-12-10 06:37:31 +13:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00