test( 'should return the plan slug for the given plan if the site can be upgraded', () => {
		expect( getUpgradePlanSlugFromPath( makeState( siteId, PLAN_FREE ), siteId, 'personal' ) ).toBe(
			PLAN_PERSONAL
		);
	} );
	test( 'should return null the site cannot be upgraded to the given plan', () => {
		expect(
			getUpgradePlanSlugFromPath( makeState( siteId, PLAN_PREMIUM ), siteId, 'personal' )
		).toBeUndefined();
	} );