perspective-viewer-d3fc - "TypeError: Cannot read properties of undefined (reading 'indexOf')" on running jest tests #2656
Unanswered
RaviTewari1
asked this question in
Q&A
Replies: 1 comment 3 replies
|
You need to provide a repro if you want someone to help. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Getting error while running jest test cases in react
Error on this line - import '@finos/perspective-viewer-d3fc';
Here is the call stack:
at indexOf (../node_modules/@finos/perspective-viewer-d3fc/src/ts/plugin/plugin.ts:59:25)
at Proxy.forEach ()
at forEach (../node_modules/@finos/perspective-viewer-d3fc/src/ts/plugin/plugin.ts:58:18)
at Object.bi (../node_modules/@finos/perspective-viewer-d3fc/src/ts/plugin/plugin.ts:36:34)
How can I resolve it. please suggest
All reactions