test: update feature flag expectations to match new values
This commit is contained in:
@@ -120,10 +120,10 @@ describe('runtime-features', () => {
|
|||||||
it('includes required lists API feature flags', () => {
|
it('includes required lists API feature flags', () => {
|
||||||
const features = buildListsFeatures();
|
const features = buildListsFeatures();
|
||||||
expect(features.responsive_web_graphql_exclude_directive_enabled).toBe(true);
|
expect(features.responsive_web_graphql_exclude_directive_enabled).toBe(true);
|
||||||
expect(features.blue_business_profile_image_shape_enabled).toBe(false);
|
expect(features.blue_business_profile_image_shape_enabled).toBe(true);
|
||||||
expect(features.responsive_web_text_conversations_enabled).toBe(false);
|
expect(features.responsive_web_text_conversations_enabled).toBe(false);
|
||||||
expect(features.tweetypie_unmention_optimization_enabled).toBe(true);
|
expect(features.tweetypie_unmention_optimization_enabled).toBe(true);
|
||||||
expect(features.vibe_api_enabled).toBe(false);
|
expect(features.vibe_api_enabled).toBe(true);
|
||||||
expect(features.interactive_text_enabled).toBe(false);
|
expect(features.interactive_text_enabled).toBe(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -118,11 +118,11 @@ describe('TwitterClient lists owned', () => {
|
|||||||
const [url] = mockFetch.mock.calls[0];
|
const [url] = mockFetch.mock.calls[0];
|
||||||
const parsedFeatures = JSON.parse(new URL(url as string).searchParams.get('features') as string);
|
const parsedFeatures = JSON.parse(new URL(url as string).searchParams.get('features') as string);
|
||||||
expect(parsedFeatures.responsive_web_graphql_exclude_directive_enabled).toBe(true);
|
expect(parsedFeatures.responsive_web_graphql_exclude_directive_enabled).toBe(true);
|
||||||
expect(parsedFeatures.blue_business_profile_image_shape_enabled).toBe(false);
|
expect(parsedFeatures.blue_business_profile_image_shape_enabled).toBe(true);
|
||||||
expect(parsedFeatures.responsive_web_text_conversations_enabled).toBe(false);
|
expect(parsedFeatures.responsive_web_text_conversations_enabled).toBe(false);
|
||||||
expect(parsedFeatures.tweetypie_unmention_optimization_enabled).toBe(true);
|
expect(parsedFeatures.tweetypie_unmention_optimization_enabled).toBe(true);
|
||||||
expect(parsedFeatures.vibe_api_enabled).toBe(false);
|
expect(parsedFeatures.vibe_api_enabled).toBe(true);
|
||||||
expect(parsedFeatures.interactive_text_enabled).toBe(false);
|
expect(parsedFeatures.interactive_text_enabled).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('handles private lists correctly', async () => {
|
it('handles private lists correctly', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user