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 working on an adapter for Objection.js and ran into the following error when attempting to run tests for it:
ObjectionAdapter #build builds the model:
TypeError: Class constructor Model cannot be invoked without 'new'
at new DummyObjectionModel (test/test-helper/DummyObjectionModel.js:32:145)
Do you have any thoughts on what would need to be changed to make things work with the current Factory Girl setup? I'm a complete newb with regards to Babel, so was hoping you might have some advice.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm working on an adapter for Objection.js and ran into the following error when attempting to run tests for it:
Looking at the Objection repo, they claim it has something to do with the Babel setup.
Do you have any thoughts on what would need to be changed to make things work with the current Factory Girl setup? I'm a complete newb with regards to Babel, so was hoping you might have some advice.
Thanks!
The text was updated successfully, but these errors were encountered: