We are getting a warning in the automated unit tests:
WARN: 'Deprecated: Passing fetch-mock reset methods
directly in as handlers for before/after test runner hooks.
Wrap in an arrow function instead e.g. `() => fetchMock.restore()`'
Chrome Headless 118.0.5993.88 (Linux x86_64) WARN: 'Deprecated: Passing fetch-mock reset methods
directly in as handlers for before/after test runner hooks.
Wrap in an arrow function instead e.g. `() => fetchMock.restore()`'
Describe the bug
We are getting a warning in the automated unit tests:
Reproduction
See the automated unit tests in any recent PR. For example: https://github.com/Esri/arcgis-rest-js/actions/runs/6539109657/job/18051471807?pr=1135
Logs
No response
System Info
Additional Information
No response