Coder Social home page Coder Social logo

react-jsx-lab-v-000's Issues

Error running tests - React depends on requestAnimationFrame

@Lukeghenco

Warning: React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to exp
ort your component from the file it's defined in, or you might have mixed up default and named imports.
Invariant Violation: ReactShallowRenderer render(): Shallow rendering works only with custom components, but the provided element type was object.
at invariant (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/fbjs/lib/invariant.js:42:15)
at ReactShallowRenderer.render (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/react-test-renderer/cjs/react-test-renderer-shallow.development.js:76:45)
at /home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js:289:35
at withSetStateAllowed (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/enzyme-adapter-utils/build/Utils.js:95:16)
at Object.render (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js:288:68)
at new ShallowWrapper (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/enzyme/build/ShallowWrapper.js:119:22)
at shallow (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/enzyme/build/shallow.js:19:10)
at Suite. (/home/mxdavis/temporary/react-jsx-lab-v-000/test/FillerText.test.js:11:19)
at Object.create (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/mocha/lib/interfaces/common.js:114:19)
at context.describe.context.context (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/mocha/lib/interfaces/bdd.js:44:27)
at Object. (/home/mxdavis/temporary/react-jsx-lab-v-000/test/FillerText.test.js:10:1)
at Module._compile (module.js:635:30)
at loader (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/mxdavis/temporary/react-jsx-lab-v-000/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)

Student could not run tests to complete this lab

Deleted Repo and reforked, same issue on 3 machines.

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.