< Home - < Back

mocha


Information about the package, mocha, which is shipped with common Linux distributions. The mocha package is designed for, A simple, flexible, fun test framework for Node.js.


Package Name:

mocha

Summary:

A simple, flexible, fun test framework for Node.js

Description:

Mocha is a feature-rich JavaScript test framework running on Node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.

Architecture:

noarch

Version:

1.18.2

Release:

2.el6

Size:

62 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for mocha


Control the mocha package with the following handy commands outlined below.


Command

Description of Command

yum install mocha

This command will install mocha on the server.

yum remove mocha

This command will un-install mocha on the server. When you run this command, you will be asked if you are sure that you want to remove mocha, so you have to manually confirm that you want to do this.

yum -y remove mocha

This command will un-install mocha on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove mocha when using the -y flag.

yum update mocha

This command will update mocha to the latest version. When you run this command, you will be asked if you are sure that you want to remove mocha, so you have to manually confirm that you want to do this.

yum -y update mocha

This command will update mocha to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove mocha when using the -y flag.

yum info mocha

This command will show you core information about the mocha package.

yum deplist mocha

This command will show you the dependencies for mocha. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update mocha

This command will check if there is an update waiting on mocha. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.