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
OS : macOS 12 Node.js version : 16.13.2 suitecloud-cli version : 1.3.1 Terminal/CMD tool : iTerm
Describe the bug
unit testing module does not support a customized define
To Reproduce
Steps to reproduce the behavior:
create a module like this:
constx=define;x([],()=>{});
test with suitecloud
Actual Behavior
ReferenceError: define is not defined
Expected Behavior
that should work. While this is a contrived example it's based on something real. we have define conditionally wrapped in node because we were doing unit testing in the past (before suitecloud solution) came along and needed a way to test them
Additional context
how are you executing this if define does not exist?
The text was updated successfully, but these errors were encountered:
Your environment
OS : macOS 12
Node.js version : 16.13.2
suitecloud-cli version : 1.3.1
Terminal/CMD tool : iTerm
Describe the bug
unit testing module does not support a customized
define
To Reproduce
Steps to reproduce the behavior:
Actual Behavior
Expected Behavior
that should work. While this is a contrived example it's based on something real. we have
define
conditionally wrapped in node because we were doing unit testing in the past (before suitecloud solution) came along and needed a way to test themAdditional context
how are you executing this if
define
does not exist?The text was updated successfully, but these errors were encountered: