Ghost/test/unit
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
..
api Fixed failing test 2022-04-14 15:33:24 +08:00
frontend Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
server Revert "Dropped nullable from subscribe events' newsletter id (#14598)" 2022-04-27 20:01:32 +01:00
shared