()
| 320 | }) |
| 321 | |
| 322 | const fileSubBlock = (): SubBlockRecord => ({ |
| 323 | file: { |
| 324 | id: 'file', |
| 325 | type: 'file-upload', |
| 326 | value: { key: 'workspace/SRC/a.png', name: 'a.png' }, |
| 327 | }, |
| 328 | }) |
| 329 | |
| 330 | it('promote mode: records an unmapped file-upload key as a file reference and clears it', () => { |
| 331 | const result = remapForkSubBlocks(fileSubBlock(), () => null, 'promote') |
no outgoing calls
no test coverage detected