0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test
Hannah Wolfe 5bf12939e4
Updated eslint-plugin-ghost & fixed resulting failures
- I recently added a bunch of strict rules to our eslint plugin around returns: ca9af37866
- These mostly are issues that occur whilst writing code, that you spot and fix as you're developing, but they're annoying to notice/find and eslint can be used to flag them quickly
- There are of course, edge cases where you don't need to return from array fns, but this rule also suggests better patterns might be available
- For our excert helper and new assertEvent helper, I've updated the code to use simpler patterns that are easier to read, so as to avoid the warnings
- For our old API I've simply disabled the rule as we're about to delete this code
2022-02-21 12:30:12 +00:00
..
e2e-api Updated eslint-plugin-ghost & fixed resulting failures 2022-02-21 12:30:12 +00:00
e2e-browser Added demo E2E browser test 2022-02-17 12:16:58 +01:00
e2e-frontend 🐛 Fixed welcome pages not working for "subscribe" links (#14176) 2022-02-20 16:02:42 +02: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 Removed the duplicated members regression tests 2022-02-17 15:44:48 +01:00
unit Added test-specific default-settings.json configuration 2022-02-21 20:06:20 +13:00
utils Cleaned up JSDocs referencing TestAgent 2022-02-21 20:06:20 +13:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js
.jshintrc