Open in app
Cing Sian Dal
41 Followers
About

Sign in

41 Followers
About
Open in app

Jest Test Redux Thunk TypeError: Cannot read property ‘contextTypes’ of undefined

Cing Sian Dal

Cing Sian Dal

Aug 22, 2020·1 min read

export your Component

for example,

export const UnConnectedMyComponent = ()=>{
....
}
export default UnConnectedMyComponent;

Cing Sian Dal

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

  • Redux Thunk
  • Redux
  • Reactjs

More from Cing Sian Dal

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

More From Medium

Ways to Define a Basic Component Template in Vue.js

John Au-Yeung in The Startup

When to use var, let, and const in JavaScript

Alexis Schreier

Router Practical Approach With Angular Dart

Adetu Ridwan in HackerNoon.com

How to Create Blog Posts From Markdown With Gatsby in 2021

John Grisham in The Startup

Why all my Vuex stores have just one action and mutation and why yours should too

Jennifer Bland in Vue.js Developers

What’s New In Create React App 4

Malcolm Laing in Frontend Digest

Nuxt & PM2: Zero Downtime Deployment

Xander Luciano

Learning JavaScript by Implementing Lodash Methods — Picking Items and Getting Sizes

John Au-Yeung in The Startup

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store