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

Add toString method to process.js #91

Closed
wants to merge 1 commit into from

Conversation

cprecioso
Copy link

In Node.js:

process + "" // = "[object process]"

This patch just brings that behaviour over. I've seen this check in the wild (namely here).


I've also made a PR at defunctzombie/node-process#87. I don't know if this is appropriate for the mock object here.

@jsf-clabot
Copy link

jsf-clabot commented May 24, 2019

CLA assistant check
All committers have signed the CLA.

@sokra
Copy link
Member

sokra commented Jun 12, 2019

The mock is intentional minimal and doesn't need this function

@sokra sokra closed this Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants