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
RangeError: Maximum call stack size exceeded
at defaultParsingFlags (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:97:5)
at getParsingFlags (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:117:17)
at isValid (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:142:21)
at prepareConfig (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:2575:10)
at createFromConfig (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:2539:40)
at createLocalOrUTC (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:2626:12)
at createLocal (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:2630:12)
at hooks (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/node_modules/moment/moment.js:16:25)
at dataTime (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/lib/generators/format.js:7:24)
at stringMock (/Users/eliotszwajkowski/Projects/wm-payments/node_modules/swagmock/lib/generators/index.js:185:41)
This is when I do my first mockgen.response. Any ideas here?
The text was updated successfully, but these errors were encountered:
I used the above code to deal with this - but sadly, any of the routes with circular references do not get the advantages of swagmock. Is there any way around this? To generate mock responses for routes that have circular refs?
This is when I do my first
mockgen.response
. Any ideas here?The text was updated successfully, but these errors were encountered: