MCPcopy Index your code
hub / github.com/react/react / deletePath

Function deletePath

packages/react-devtools-shared/src/__tests__/editing-test.js:349–358  ·  view source on GitHub ↗
(id, path)

Source from the content-addressed store, hash-verified

347 await mountTestApp();
348
349 function deletePath(id, path) {
350 const rendererID = utils.getRendererID();
351 bridge.send('deletePath', {
352 id,
353 path,
354 rendererID,
355 type: 'props',
356 });
357 flushPendingUpdates();
358 }
359
360 deletePath(classID, ['shallow']);
361 expect(committedClassProps).toStrictEqual({

Callers 2

mountTestAppFunction · 0.70
editing-test.jsFile · 0.70

Calls 1

flushPendingUpdatesFunction · 0.70

Tested by

no test coverage detected