diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index b49cb7a1e8..f3366a065b 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -4,6 +4,10 @@ The following is a curated list of changes in the Enact ui module, newest change ## [unreleased] +### Fixed + +- `ui/Marquee.MarqueeDecorator` to not error when unit tests with `direction` module. + ### Added - `ui/Layout.Cell` prop `componentCss` to support customizing the component used in `Cell` diff --git a/packages/ui/Marquee/MarqueeDecorator.js b/packages/ui/Marquee/MarqueeDecorator.js index 722b2cb059..ed5abf0b07 100644 --- a/packages/ui/Marquee/MarqueeDecorator.js +++ b/packages/ui/Marquee/MarqueeDecorator.js @@ -22,7 +22,7 @@ import componentCss from './Marquee.module.less'; // The minimum number of milliseconds to wait before resetting the marquee position after it finishes. const MINIMUM_MARQUEE_RESET_DELAY = 40; -// This regex pattern is used by the {@link ui/Marquee.MarqueeDecorator.marqueeDirection} config. +// This regex pattern is used by the {@link ui/Marquee.MarqueeDecorator.defaultConfig.marqueeDirection} config. // eslint-disable-next-line no-misleading-character-class const rtlPattern = /^[^A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF]*[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/;