()
| 247 | // field. |
| 248 | |
| 249 | const func = async () => { |
| 250 | const wereEditsApplied = await performDocumentEdits( |
| 251 | rangeUpdater, |
| 252 | editor, |
| 253 | edits |
| 254 | ); |
| 255 | |
| 256 | if (!wereEditsApplied) { |
| 257 | throw new Error("Could not apply edits"); |
| 258 | } |
| 259 | }; |
| 260 | |
| 261 | await callFunctionAndUpdateSelectionInfos( |
| 262 | rangeUpdater, |
no test coverage detected