(id, oldPath, newPath)
| 215 | await mountTestApp(); |
| 216 | |
| 217 | function renamePath(id, oldPath, newPath) { |
| 218 | const rendererID = utils.getRendererID(); |
| 219 | bridge.send('renamePath', { |
| 220 | id, |
| 221 | oldPath, |
| 222 | newPath, |
| 223 | rendererID, |
| 224 | type: 'props', |
| 225 | }); |
| 226 | flushPendingUpdates(); |
| 227 | } |
| 228 | |
| 229 | renamePath(classID, ['shallow'], ['after']); |
| 230 | expect(committedClassProps).toStrictEqual({ |
no test coverage detected