MCPcopy Index your code
hub / github.com/nodejs/node / getDescriptor

Function getDescriptor

test/parallel/test-runner-mock-timers.js:62–62  ·  view source on GitHub ↗
(ctx, fn)

Source from the content-addressed store, hash-verified

60
61 it('should check that propertyDescriptor gets back after resetting timers', (t) => {
62 const getDescriptor = (ctx, fn) => Object.getOwnPropertyDescriptor(ctx, fn);
63 const getCurrentTimersDescriptors = () => {
64 const timers = [
65 'setTimeout',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected