111k views
5 votes
Mocha is a Unit Testing Framework for which language?

a. C++
b. Java
c. Python
d. Javascript

User Icebreaker
by
7.9k points

1 Answer

4 votes

Final answer:

Mocha is a unit testing framework primarily used for JavaScript. It allows developers to write test cases for their JavaScript code.

The Correct option is; d. Javascript.

Step-by-step explanation:

Mocha is a unit testing framework primarily used for JavaScript. It is a popular testing framework that is widely used in the industry. Mocha allows developers to write test cases for their JavaScript code and ensure that it behaves as expected.

Mocha is a popular JavaScript testing framework. It is used for both Node.js and browser-based applications. Mocha provides a versatile and feature-rich environment for writing and running tests in JavaScript, making it widely used in the JavaScript development community.

User Blakeoft
by
8.3k points