Skip to content

give access to node modules in server test code - #184

Open
welelay wants to merge 1 commit into
anticoders:masterfrom
Eliga:npmInServer
Open

give access to node modules in server test code#184
welelay wants to merge 1 commit into
anticoders:masterfrom
Eliga:npmInServer

Conversation

@welelay

@welelay welelay commented Jun 15, 2016

Copy link
Copy Markdown

By giving access to the Npm object in server backdoor.js, one can require base node modules, like http.

This fixes #181. With it I can test my API endpoint by querying it from the server.

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.

Why doesn't Npm.require work in server test code ?

1 participant