Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: remove common module from test it thwarts #13748

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Jun 17, 2017

test-global-console-exists cannot use the common module as explained in
a comment but it was included later anyway. This change removes it.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test console

@Trott Trott added console Issues and PRs related to the console subsystem. test Issues and PRs related to the tests. labels Jun 17, 2017

process.on('warning', function(warning) {
process.on('warning', (warning) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I would remove the warning argument as it is not used. Also there is no guarantee that this listener is called. Should we assert that in a process.on('exit') listener?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lpinca Ack, done on both.

test-global-console-exists cannot use the common module as explained in
a comment but it was included later anyway. This change removes it.
@Trott
Copy link
Member Author

Trott commented Jun 19, 2017

@Trott
Copy link
Member Author

Trott commented Jun 19, 2017

Sole CI failure is unrelated flaky test.

Trott added a commit to Trott/io.js that referenced this pull request Jun 23, 2017
test-global-console-exists cannot use the common module as explained in
a comment but it was included later anyway. This change removes it.

PR-URL: nodejs#13748
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott
Copy link
Member Author

Trott commented Jun 23, 2017

Landed in 4885982

@Trott Trott closed this Jun 23, 2017
@addaleax addaleax mentioned this pull request Jun 24, 2017
addaleax pushed a commit that referenced this pull request Jun 24, 2017
test-global-console-exists cannot use the common module as explained in
a comment but it was included later anyway. This change removes it.

PR-URL: #13748
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleax addaleax mentioned this pull request Jun 24, 2017
@Trott Trott deleted the uncommon branch January 13, 2022 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
console Issues and PRs related to the console subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants