Giter VIP home page Giter VIP logo

Comments (5)

ddroche avatar ddroche commented on July 18, 2024

@Joegrundman I had the same problem and have gotten it to work. I didn't spend the time to figure out which package is the problem, but if you use the exact same versions of all the packages in this repo in your own code, it works.

from react-yelp-clone.

Joegrundman avatar Joegrundman commented on July 18, 2024

Hi ddroche
thank you for the response, actually I have found the problem to be the react/react-dom/react-addons-test-utils 15.2.1 release. If it is rolled back to 15.2.0 it works fine. My guess is that it is in the utils-package. I have posted an issue on airbnb/enzyme about this

from react-yelp-clone.

Joegrundman avatar Joegrundman commented on July 18, 2024

I can now give a definitive response with thanks to @nfcampos at airbnb.

As of react15.2.1, Test utils cannot be run in production mode. This webpack setup has production config , development config and test config, but test config does not share development config

so:

in webpack.config. line 21:

isDev: isDev

change to

isDev: isDev || isTest

from react-yelp-clone.

auser avatar auser commented on July 18, 2024

Thanks for the update. I will update the webpack config to handle this case.

from react-yelp-clone.

auser avatar auser commented on July 18, 2024

Fixed this in the latest commit.

Thanks for reporting!

from react-yelp-clone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.