Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takamin/minty-mocha
Cheaper alternative of mocha to get colored result on mintty
https://github.com/takamin/minty-mocha
Last synced: about 1 month ago
JSON representation
Cheaper alternative of mocha to get colored result on mintty
- Host: GitHub
- URL: https://github.com/takamin/minty-mocha
- Owner: takamin
- License: mit
- Created: 2016-09-11T08:02:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-11T08:13:00.000Z (over 8 years ago)
- Last Synced: 2024-10-13T06:22:55.630Z (2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
minty-mocha
===========This is a cheaper alternative module of mocha to get colored test results on mintty (or a git bash for Windows).
On the mintty, the `mocha` does work, but the text is not colored.If `describe` and `it` functions are not exist in global,
this module creates alternatives.
If both of those are exist, this module do nothing.
So anyhow, this module does not export anythingThis module might not work well on the other environment.
USAGE
-----Simply, only require.
```
(function() {
"use strict";
require("minty-mocha");
var chai = require('chai');
var should = chai.should();
var assert = chai.assert;describe("foo in bar", function() {
describe("baz will boo", function() {
it('should returns zero', function() {
assert.equal(bar.foo.baz.boo(), 0);
});
});
describe("there is no boo", function() {
it('should ...
```LICENSE
-------[MIT](LICENSE)