Mock ResizeObserver to fix failing tests

Description

Tests are currently failing with:

ReferenceError: ResizeObserver is not defined 129 | ); 130 | > 131 | const renderPOLineForm = (props = {}) => render( | ^ 132 | <Form 133 | onSubmit={jest.fn} 134 | render={() => ( at new ResizeObserver (node_modules/@folio/stripes-components/lib/TextArea/TextArea.js:127:31)

Caused by stripes-components PR#2181

  • STCOM-1240 Handle resize of TextArea

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Tino R. January 22, 2024 at 8:40 AM

Won't Do

Details

Assignee

Reporter

Priority

Sprint

Development Team

Leipzig

Release

Quesnelia (R1 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created January 17, 2024 at 10:01 AM
Updated February 20, 2024 at 2:30 AM
Resolved January 22, 2024 at 8:40 AM
TestRail: Cases
TestRail: Runs

Flag notifications