learn-co-students / react-jsx-lab-v-000 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.