Ghost/test/e2e-api/members
Hannah Wolfe a703185497
Fixed mockLabs disabling all other flags (#14621)
refs TryGhost/Team#1566

- Mocking a labs flag (regardless of enabled/disabled) currently has a side effect of setting any other flag to undefined.
- This meant in a test where we set a flag e.g. members-importer where we set multipleProducts, multipleNewsletters is always disabled
- This fix preserves the default state of all labs flags that are not mocked so that labs behaves how we expect
- Removed usage of GA flags in tests
- Removed tests that had GA flags disabled

Co-authored-by: Simon Backx <simon@ghost.org>
2022-04-28 10:55:20 +02:00
..
signin.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
webhooks.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00