Merge branch 'main' into rneatherway/remove-old-upload-path

This commit is contained in:
Robin Neatherway 2022-01-25 12:36:23 +00:00
commit e13c8bbfb7
21 changed files with 55 additions and 58 deletions

View file

@ -114,10 +114,13 @@ test("Feature flags exception is propagated if the API request errors", async (t
mockFeatureFlagApiEndpoint(500, {});
await t.throwsAsync(async () => featureFlags.preloadFeatureFlags(), {
message:
"Encountered an error while trying to load feature flags: Error: some error message",
});
await t.throwsAsync(
async () => featureFlags.getValue(FeatureFlag.DatabaseUploadsEnabled),
{
message:
"Encountered an error while trying to load feature flags: Error: some error message",
}
);
});
});