Mock Canopy object
This is required for the tests to run while using SaplingJS
*/
import '@testing-library/jest-dom/extend-expect';
+
+window.$CANOPY = {};
+
+window.$CANOPY.getSharedConfig = () => {
+ return {
+ canopyConfig: {
+ splinterURL: 'testSplinterURL',
+ saplingURL: 'testSaplingURL'
+ },
+ appConfig: {
+ gridURL: 'testGridURL'
+ }
+ };
+};
