MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / set

Function set

packages/@stdlib/testing/src/smart-mock.ts:63–65  ·  view source on GitHub ↗
(target, propertyKey, value, receiver)

Source from the content-addressed store, hash-verified

61 return Reflect.preventExtensions(target);
62 },
63 set(target, propertyKey, value, receiver) {
64 return Reflect.set(target, propertyKey, createSmartMock(value), receiver);
65 },
66 setPrototypeOf(target, prototype) {
67 return Reflect.setPrototypeOf(target, prototype);
68 },

Callers

nothing calls this directly

Calls 2

createSmartMockFunction · 0.85
setMethod · 0.65

Tested by

no test coverage detected