You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not really sure what the conventions are in the JS world for this. In Python you would put all executing code inside functions and then have something like:
I'm not really sure what the conventions are in the JS world for this. In Python you would put all executing code inside functions and then have something like:
There are some interesting ideas here: https://stackoverflow.com/questions/27634634/nodejs-how-to-test-index-js-without-module-exports
I'm not sure I entirely like them though. This will probably need more investigation to figure out a good pattern.
The text was updated successfully, but these errors were encountered: