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 writing a jest test case that renders a Text component created from the following line of code: export const Text = createText<IotTheme>();
I receive a resulting error:
TypeError: funcsMap[propKey] is not a function
at node_modules/@shopify/restyle/dist/composeRestyleFunctions.js:33:137
at Array.reduce (<anonymous>)
at Object.buildStyle (node_modules/@shopify/restyle/dist/composeRestyleFunctions.js:33:41)
at Object.func [as variant] (node_modules/@shopify/restyle/dist/createVariant.js:36:70)
at node_modules/@shopify/restyle/dist/composeRestyleFunctions.js:33:137
at Array.reduce (<anonymous>)
at Object.buildStyle (node_modules/@shopify/restyle/dist/composeRestyleFunctions.js:33:41)
at node_modules/@shopify/restyle/dist/hooks/useRestyle.js:48:45
at mountMemo (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6877:19)
at Object.useMemo (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7213:16)