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
Test suite failed to run
/Users/przemyslawpietrzakfrontend/node_modules/lodash-es/find.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import createFind from './_createFind.js';
SyntaxError: Unexpected identifier
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/ScriptTransformer.js:440:17)
at Object.<anonymous> (node_modules/angular2-jsonapi/src/models/json-api.model.ts:1:1)
The text was updated successfully, but these errors were encountered:
if I remember right....to work along with json api, I created that mocks folder, created angular2-jsonapi.ts file and mocked JsonApiModel...like this(i think, not sure but you can try):
After migrate from karma to jest i get error:
The text was updated successfully, but these errors were encountered: