From 15f2e8f5a7c0dcc51dfc9828efdf2ca4e282e7a0 Mon Sep 17 00:00:00 2001 From: Alec Gibson <12036746+alecgibson@users.noreply.github.com> Date: Fri, 9 Feb 2024 13:25:15 +0000 Subject: [PATCH] Add missing attributor for `Selection` test (#4001) --- packages/quill/test/unit/core/selection.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/quill/test/unit/core/selection.spec.ts b/packages/quill/test/unit/core/selection.spec.ts index 0bc394a57b..f3ba0e98df 100644 --- a/packages/quill/test/unit/core/selection.spec.ts +++ b/packages/quill/test/unit/core/selection.spec.ts @@ -11,7 +11,7 @@ import Italic from '../../../src/formats/italic'; import Strike from '../../../src/formats/strike'; import { ColorStyle } from '../../../src/formats/color'; import { BackgroundStyle } from '../../../src/formats/background'; -import { FontClass } from '../../../src/formats/font'; +import { SizeClass } from '../../../src/formats/size'; const createSelection = (html: string, container = document.body) => { const scroll = createScroll( @@ -25,7 +25,7 @@ const createSelection = (html: string, container = document.body) => { Link, ColorStyle, BackgroundStyle, - FontClass, + SizeClass, ]), container, );