diff --git a/projects/plugins/jetpack/changelog/add-image-compare-block-tests b/projects/plugins/jetpack/changelog/add-image-compare-block-tests
new file mode 100644
index 0000000000000..348e569fe3852
--- /dev/null
+++ b/projects/plugins/jetpack/changelog/add-image-compare-block-tests
@@ -0,0 +1,4 @@
+Significance: minor
+Type: enhancement
+
+Image Compare: Add block tests and fixtures.
diff --git a/projects/plugins/jetpack/extensions/blocks/image-compare/controls.js b/projects/plugins/jetpack/extensions/blocks/image-compare/controls.js
new file mode 100644
index 0000000000000..38f3cef427408
--- /dev/null
+++ b/projects/plugins/jetpack/extensions/blocks/image-compare/controls.js
@@ -0,0 +1,21 @@
+/**
+ * External dependencies
+ */
+import { PanelBody, RadioControl } from '@wordpress/components';
+import { __ } from '@wordpress/i18n';
+
+export default function ImageCompareControls( { attributes, setAttributes } ) {
+ const { orientation } = attributes;
+ return (
+
+ setAttributes( { orientation: value } ) }
+ />
+
+ );
+}
diff --git a/projects/plugins/jetpack/extensions/blocks/image-compare/edit.js b/projects/plugins/jetpack/extensions/blocks/image-compare/edit.js
index 076246080c132..f12ad0042a28d 100644
--- a/projects/plugins/jetpack/extensions/blocks/image-compare/edit.js
+++ b/projects/plugins/jetpack/extensions/blocks/image-compare/edit.js
@@ -2,7 +2,7 @@
* External dependencies
*/
import { InspectorControls, RichText } from '@wordpress/block-editor';
-import { PanelBody, Placeholder, RadioControl } from '@wordpress/components';
+import { Placeholder } from '@wordpress/components';
import { useResizeObserver } from '@wordpress/compose';
import { useLayoutEffect } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
@@ -11,6 +11,7 @@ import { __ } from '@wordpress/i18n';
* Internal dependencies
*/
import { photonizedImgProps } from '../tiled-gallery/utils';
+import ImageCompareControls from './controls';
import ImgUpload from './img-upload';
import useDebounce from './use-debounce';
import './editor.scss';
@@ -48,7 +49,7 @@ const Edit = ( { attributes, className, clientId, isSelected, setAttributes } )
}
// Initial state if attributes already set or not.
- // If both images are set, add juxtaspose class, which is picked up by the library.
+ // If both images are set, add juxtapose class, which is picked up by the library.
const isComplete = imageBefore && imageBefore.url && imageAfter && imageAfter.url;
const classes = isComplete ? 'image-compare__comparison juxtapose' : 'image-compare__placeholder';
@@ -63,20 +64,7 @@ const Edit = ( { attributes, className, clientId, isSelected, setAttributes } )