GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||
GeezerVison is showing github.com — test_runner: handled change for exposing 'spec' reporter by Sumi0 · Pull Request #48202 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I do not understand why is the test failing @line-no:79 test-runner-run.mjs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
you should debug locally with |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| value: spec ?? function SpecReporter() { | ||
| return ReflectConstruct(require('internal/test_runner/reporter/spec'), arguments); |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| value: spec ?? function SpecReporter() { | |
| return ReflectConstruct(require('internal/test_runner/reporter/spec'), arguments); | |
| value: function SpecReporter() { | |
| spec ??= require('internal/test_runner/reporter/spec'); | |
| return ReflectConstruct(spec, arguments, new.target); |
(not sure about the new.target)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Let me run full test this time on my local and check.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@atlowChemi I have tried all versions of returning instance of a class (imported with require), either with new keyword or with Reflect.construct, and both are not working.
I am not able to identify the Root cause.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Sumi0 are you still planning to work on this, or should it be closed? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This was already superseded by #49184 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Specify thatspec reporter is a class and needs to be instantiate for usage with run
There was an error while loading. Please reload this page.