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

Method create

tests/_utils/context.ts:34–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 */
33export class DeferredContextMock {
34 public static create(): any {
35 const defer = createDefer();
36
37 return {
38 defer,
39 create: ( ...args: ConstructorParameters<typeof ContextMock> ) => defer.promise.then( () => new ContextMock( ...args ) )
40 };
41 }
42}

Callers

nothing calls this directly

Calls 1

createDeferFunction · 0.90

Tested by

no test coverage detected