/**
 * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */

import { ImageResize } from '../../src/imageresize.js';
import { ImageResizeButtons } from '../../src/imageresize/imageresizebuttons.js';
import { ImageResizeEditing } from '../../src/imageresize/imageresizeediting.js';
import { ImageResizeHandles } from '../../src/imageresize/imageresizehandles.js';
import { ImageCustomResizeUI } from '../../src/imageresize/imagecustomresizeui.js';

describe( 'ImageResize', () => {
	it( 'should require "ImageResizeEditing", "ImageResizeHandles", "ImageCustomResizeUI", and "ImageResizeButtons"', () => {
		expect( ImageResize.requires ).to.deep.equal( [ ImageResizeEditing, ImageResizeHandles, ImageCustomResizeUI, ImageResizeButtons ] );
	} );

	it( 'should be named', () => {
		expect( ImageResize.pluginName ).to.equal( 'ImageResize' );
	} );

	it( 'should have `isOfficialPlugin` static flag set to `true`', () => {
		expect( ImageResize.isOfficialPlugin ).to.be.true;
	} );

	it( 'should have `isPremiumPlugin` static flag set to `false`', () => {
		expect( ImageResize.isPremiumPlugin ).to.be.false;
	} );
} );
