MCPcopy Create free account
hub / github.com/ckeditor/ckeditor5-react / waitForInitialize

Function waitForInitialize

tests/context/ckeditorcontext.test.tsx:860–866  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

858 );
859
860 const waitForInitialize = async () => {
861 deferContext.defer.resolve();
862
863 await waitFor( () => {
864 expect( contextRef.current!.status ).to.be.equal( 'initialized' );
865 } );
866 };
867
868 const rerender = ( newProps: Partial<Props<any>> ) => {
869 component?.rerender(

Callers 1

Calls 1

waitForFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…