/**
 * Internal dependencies
 */
import { PREFIX_EVENTS_PRO_STORE } from '@moderntribe/events-pro/data/prefix';
import { types } from '@moderntribe/events-pro/data/blocks/additional-fields';

describe( 'Additional Field types', () => {
	test( 'Should match the types', () => {
		expect( types.ADD_ADDITIONAL_FIELD )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/ADD_ADDITIONAL_FIELD` );
		expect( types.REMOVE_ADDITIONAL_FIELD )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/REMOVE_ADDITIONAL_FIELD` );
		expect( types.SET_ADDITIONAL_FIELD_LABEL )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_LABEL` );
		expect( types.SET_ADDITIONAL_FIELD_IS_PRISTINE )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_IS_PRISTINE` );
		expect( types.SET_ADDITIONAL_FIELD_VALUE )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_VALUE` );
		expect( types.SET_ADDITIONAL_FIELD_TYPE )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_TYPE` );
		expect( types.SET_ADDITIONAL_FIELD_OPTIONS )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_OPTIONS` );
		expect( types.SET_ADDITIONAL_FIELD_DIVIDER_LIST )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_DIVIDER_LIST` );
		expect( types.SET_ADDITIONAL_FIELD_DIVIDER_END )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_DIVIDER_END` );
		expect( types.SET_ADDITIONAL_FIELD_INITIAL_STATE )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_INITIAL_STATE` );
		expect( types.APPEND_ADDITIONAL_FIELD_VALUE )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/APPEND_ADDITIONAL_FIELD_VALUE` );
		expect( types.REMOVE_ADDITIONAL_FIELD_VALUE )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/REMOVE_ADDITIONAL_FIELD_VALUE` );
		expect( types.SET_ADDITIONAL_FIELD_CHANGE )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_CHANGE` );
		expect( types.SET_ADDITIONAL_FIELD_META_KEY )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_META_KEY` );
		expect( types.SET_ADDITIONAL_FIELD_OUTPUT )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_OUTPUT` );
		expect( types.SET_ADDITIONAL_FIELD_BLUR )
			.toBe( `${ PREFIX_EVENTS_PRO_STORE }/SET_ADDITIONAL_FIELD_BLUR` );
	} );
} );
