- Getting Started with Mocha and Chai 3:16
- General Structure of Test Files 4:10
- Setting Up Mocha 4 questions
- Installing Mocha 1 objective
- Installing Chai 1 objective
- Test Suites and Test Specs (describe and it) 3:34
- Mocha Chai Basics 4 questions
- Writing Our First Test Suite 14:49
- Writing Our First Test Suite - Part 2 8:15
- Challenge: Expanding Our Expectations 9:57
- Answer: Expanding Our Expectations 12:05
- A Testing Test! 1 objective
- Assert Your Knowledge 5 questions
Quiz Question 1 of 4
Given this package.json
file, which of the following will run a test suite found in '/test/main_test.js'?
{
"name": "workspace",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"chai": "^3.5.0"
},
"devDependencies": {
"mocha": "^2.4.5"
},
"scripts": {
"test": "mocha"
}
}
Choose the correct answer below: