mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
d6b7ebb517
ref https://github.com/TryGhost/Ghost/issues/11038
1. Enforced lint rule
**[ghost/mocha/no-identical-title](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/docs/rules/no-identical-title.md)**
- Fixed relevant tests
2. Enforced lint rule
**[ghost/mocha/max-top-level-suites](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/docs/rules/max-top-level-suites.md)**
- No required fixes, as tests are compliant already
#### Additional details
Specifically for `ghost/mocha/no-identical-title` most fixes were simple
test description updates. Added comments to aid the PR review for the
ones that had relevant changes, and might require more attention. They
are as follows:
*
[e2e-api/admin/invites.test.js](https://github.com/TryGhost/Ghost/pull/19720#discussion_r1496397548):
Removed duplicated test (exact same code on both);
*
[e2e-api/admin/members.test.js](https://github.com/TryGhost/Ghost/pull/19720#discussion_r1496399107):
From the[ PR this was
introduced](
|
||
---|---|---|
.. | ||
base | ||
api-key.test.js | ||
comment.test.js | ||
custom-theme-setting.test.js | ||
email-spam-complaint-event.test.js | ||
integration.test.js | ||
invite.test.js | ||
member-click-event.test.js | ||
member-created-event.test.js | ||
member-feedback.test.js | ||
member-paid-subscription-event.test.js | ||
member-subscribe-event.test.js | ||
member.test.js | ||
milestone.test.js | ||
newsletter.test.js | ||
permission.test.js | ||
post.test.js | ||
session.test.js | ||
settings.test.js | ||
single-use-token.test.js | ||
stripe-customer-subscription.test.js | ||
subscription-created-event.test.js | ||
suppression.test.js | ||
tag.test.js | ||
user.test.js |