Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants