FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: load common.js to test for global leaks by Trott · Pull Request #3095 · nodejs/node · GitHub

/ node Public

test: load common.js to test for global leaks - #3095

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:common
Closed

test: load common.js to test for global leaks#3095
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:common

Conversation

Trott commented Sep 27, 2015

Copy link
Copy Markdown
Member

common.js contains code that checks for variables leaking into the
global namespace. Load common.js in all tests that do not
intentionally leak variables.

common.js contains code that checks for variables leaking into the
global namespace. Load common.js in all tests that do not
intentionally leak variables.
mscdex added the test Issues and PRs related to the tests. label Sep 27, 2015

Trott commented Sep 27, 2015

Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Contributor

It'd be cool if we could get a linter rule for this, that way reviewers can't miss it on new tests.

Copy link
Copy Markdown
Contributor

+1 linter rule.

Copy link
Copy Markdown
Contributor

Also lgtm

Copy link
Copy Markdown
Contributor

LGTM

Trott commented Oct 2, 2015

Copy link
Copy Markdown
Member Author

I've written an eslint rule for this and will submit it with a subsequent pull request. Thanks for the suggestion!

Trott commented Oct 2, 2015

Copy link
Copy Markdown
Member Author

Landed in 02fe821

Trott closed this Oct 2, 2015
Trott added a commit that referenced this pull request Oct 2, 2015
common.js contains code that checks for variables leaking into the
global namespace. Load common.js in all tests that do not
intentionally leak variables.

PR-URL: #3095
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Trott added a commit that referenced this pull request Oct 2, 2015
common.js contains code that checks for variables leaking into the
global namespace. Load common.js in all tests that do not
intentionally leak variables.

PR-URL: #3095
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
rvagg mentioned this pull request Oct 3, 2015
Trott deleted the common branch January 13, 2022 22:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL