Skip to content

test_runner: handled change for exposing 'spec' reporter#48202

Closed
Sumi0 wants to merge 3 commits intonodejs:mainfrom
Sumi0:main
Closed

test_runner: handled change for exposing 'spec' reporter#48202
Sumi0 wants to merge 3 commits intonodejs:mainfrom
Sumi0:main

Conversation

@Sumi0
Copy link
Copy Markdown

@Sumi0 Sumi0 commented May 27, 2023

Fixes: Issue#48112

Other reporters (dot, tap) by signature are a function while 'spec'
reporter is a ES6 class.

This behaviour of api spec is causing difference in semantics while
consumption since it has not been addressed anywhere in the document
(it has to be instantiated).

Instead of making changes in the signature of spec.js, i have proposed
changes where the 'spec' reporter gets exposed in reporter.js

Refs: reporter/spec.js
Refs: (@line-no:143) test_runner/utils.js

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. stalled Issues and PRs that are stalled. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specify that spec reporter is a class and needs to be instantiate for usage with run

6 participants