As part of improving http2 test coverage in #14985, I was trying to unit test the following code in submitSettings()
|
switch (ret) { |
|
case NGHTTP2_ERR_NOMEM: |
|
err = new errors.Error('ERR_OUTOFMEMORY'); |
|
process.nextTick(emit, this, 'error', err); |
|
break; |
|
default: |
|
// Some other unexpected error was reported. |
|
if (ret < 0) { |
|
err = new NghttpError(ret); |
|
process.nextTick(emit, this, 'error', err); |
|
} |
|
} |
While debugging, I'm not able to step into handle.submitSettings() to check how the value of ret is computed

I don't see method submitSettings for handle in the call stack.
This appears to be an issue. Am I missing something? I'm testing on node master branch.
As part of improving http2 test coverage in #14985, I was trying to unit test the following code in submitSettings()
node/lib/internal/http2/core.js
Lines 563 to 574 in e012229
While debugging, I'm not able to step into

handle.submitSettings()to check how the value ofretis computedI don't see method
submitSettingsforhandlein the call stack.This appears to be an issue. Am I missing something? I'm testing on node master branch.