Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlexisca hall
23,683 PointsWe're setting up a new system to run our tests. Issue the command to install Mocha globally.
We're setting up a new system to run our tests. Issue the command to install Mocha globally.
1 Answer
Kathryn Notson
25,941 PointsAlexisca hall:
JavaScript Unit Testing > Behavior Driven Development > Installing Mocha (Code Challenge)
See the my comment on installing Chai. You install Mocha.js by typing the following in your terminal at the Command Prompt: $npm install -g mocha.
Go back to "Getting Started with Mocha & Chai lesson. Look at the Teacher's Notes. You will find instructions there. Be sure to write down the Teacher's Notes in your own notes so you can refer to them later.