Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Ops] Work around unit-tests in watch mode fails to set 'structuredCl…
…one' (elastic#174444) ## Summary @CoenWarmer found that `--watch` on jest tests will cause this sort of error: ``` TypeError: Cannot assign to read only property 'structuredClone' of object '[object global]' ``` There's some workaround suggested on this thread (although not necessarily related): zloirock/core-js#1281 In the workaround, we set `structuredClone` to `{}`, this would allow the currently offending 3rd party to overwrite it where it's currently getting an error.
- Loading branch information