alliander-opensource / diva-js-reference-3p-frontend Goto Github PK
View Code? Open in Web Editor NEWExample implementation of a third party app using the DIVA SDK in NodeJS - Frontend
License: BSD 3-Clause "New" or "Revised" License
Example implementation of a third party app using the DIVA SDK in NodeJS - Frontend
License: BSD 3-Clause "New" or "Revised" License
Cypress test fails on master branch after npm run test
or yarn test
:
FAIL src/containers/App/App.test.js
✕ renders without crashing (11ms)
● renders without crashing
Invariant Violation: Could not find "store" in either the context or props of "Connect(App)". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(App)".
at invariant (node_modules/invariant/invariant.js:42:15)
at new Connect (node_modules/react-redux/lib/components/connectAdvanced.js:134:33)
at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:9760:20)
at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:10215:9)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:10605:16)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:12573:16)
at workLoop (node_modules/react-dom/cjs/react-dom.development.js:12682:28)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:1299:14)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:219:27)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:126:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:87:17)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:36:27)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:61:35)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:1338:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:1195:27)
at performWork (node_modules/react-dom/cjs/react-dom.development.js:12800:7)
at scheduleUpdateImpl (node_modules/react-dom/cjs/react-dom.development.js:13185:19)
at scheduleUpdate (node_modules/react-dom/cjs/react-dom.development.js:13124:12)
at scheduleTopLevelUpdate (node_modules/react-dom/cjs/react-dom.development.js:13395:5)
at Object.updateContainer (node_modules/react-dom/cjs/react-dom.development.js:13425:7)
at node_modules/react-dom/cjs/react-dom.development.js:17105:19
at Object.unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:13256:14)
at renderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:17104:17)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:17129:12)
at Object.<anonymous>.it (src/containers/App/App.test.js:7:22)
at new Promise (<anonymous>)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
console.error node_modules/fbjs/lib/warning.js:33
Warning: React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills
console.error node_modules/react-dom/cjs/react-dom.development.js:8305
The above error occurred in the <Connect(App)> component:
in Connect(App) (at App.test.js:7)
Consider adding an error boundary to your tree to customize error handling behavior.
You can learn more about error boundaries at https://fb.me/react-error-boundaries.
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 0 total
Time: 1.562s
Ran all test suites.
Run on Mac after having performed npm install
or yarn install
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.