{"_id":"mocha-clean","_rev":"29-46b65a3e93b1e88c5f243538f7ea8404","name":"mocha-clean","description":"Cleans up mocha stack traces.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"mocha-clean","version":"0.0.1","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"d98f75397dfc9a3d0b3d8208ef259565b0733bf5","_id":"mocha-clean@0.0.1","_shasum":"f540c66407a93e4f85be4c87a4faa9933c7a0320","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"f540c66407a93e4f85be4c87a4faa9933c7a0320","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.0.1.tgz","integrity":"sha512-pVpaBYjxTDu2SMp3vlA7hWKFKrIKthoO70YmULfqZcBGf+4K/I0pNKt78vHpuTev/fhVhqvPlvEhHJRwh9EGxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDfjxPRSEs1HEf65g5JMe6OXTmYpEBguFZd5xGGPU6/gIgH1MJlJ0MDL0yO606w/B/JJFEziMtPknKAHPcEFbT2sQ="}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.1.0":{"name":"mocha-clean","version":"0.1.0","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"dd04b301618238f32d18c3fb2efb0e63cf6bcd80","_id":"mocha-clean@0.1.0","_shasum":"5c798792ad5ad7240bf7caff5d4151f588af8fd5","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"5c798792ad5ad7240bf7caff5d4151f588af8fd5","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.1.0.tgz","integrity":"sha512-V/4kH+aIqBnrwaJcl/LKiXGKSVNzMsvBfRDsGXXX5Tzdy7DgQZVDFzUOPziKPQEzfI1E27yfujgWGPEeuyeS7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjunywTOPaWw3kwBBuaZGkFMqni/hk0ymjQHKQ1XspKAiEA8+o9MSoshui6PmFczKNa/ozMa4fLd6R3j7BjuT/qQos="}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.1.1":{"name":"mocha-clean","version":"0.1.1","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"8ecd801ec8a51fa1ba34da6b3c23e044ddd19791","_id":"mocha-clean@0.1.1","_shasum":"6cb099fb7b18343cff4f79e55afd18bfcce664ab","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"6cb099fb7b18343cff4f79e55afd18bfcce664ab","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.1.1.tgz","integrity":"sha512-MvXtTEk93dJD25jEpkEJYj3e2qZYJ6repQ2c5yLt42hYCD2XjkmRtXpRRtfqOyU2SEuHDwDJu/xhP+2caBiqxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKh/hNd4g4Fsd2gtEi3s7yw/Gx/b8UhEoUi5q1O4bsMQIhAMQmovkiAGG3qZK2UvNIlUf0fTwFIHI82NWDVk4wskyZ"}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.1.2":{"name":"mocha-clean","version":"0.1.2","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"eda88f8436af6e5d4decbb28f6fce08d0e0d2785","_id":"mocha-clean@0.1.2","_shasum":"23b45f42946fac3e3ea8749a32bde4b5ee1029a1","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"23b45f42946fac3e3ea8749a32bde4b5ee1029a1","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.1.2.tgz","integrity":"sha512-HEReVD+y8UeppBeUefRDOrZEFbnrzW3xn+yZi0zygfy3r9wvn3tijQnd/K9zn4GwknFJQGpqN3qe9GzvHMRYBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA2hlwKv3Bkxeoj2mCt/1gfkWceudJTsamXsseznw/cAIhAO9vAr3kdQnPoXXFI5G+VrTYWkE6CopfdU4YrajPP9l8"}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.1.3":{"name":"mocha-clean","version":"0.1.3","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"5e386e592cb29d5624b2b65b5cb7d012b605406e","_id":"mocha-clean@0.1.3","_shasum":"5edd4f50a4b52650ddf5bd16ee69d03fdd4f3f4a","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"5edd4f50a4b52650ddf5bd16ee69d03fdd4f3f4a","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.1.3.tgz","integrity":"sha512-6H6zoJks53/1AchciGzI2GLfkJN4+jA6wjTZSCZ7FAVpZhkAzEzC+jJSRkrb70+aBfVTp2/sskmuokHbiYWZag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLfEgz4HMbNTC0Hz/14LQBe1t15eM0NN1ovd/wrnrDIAIgCfslZuz+QC43TCdKS8+XWJajSgPjWfK3o6fbx/+pvCU="}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.2.0":{"name":"mocha-clean","version":"0.2.0","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"3e04506bca1b457cc59c33003cedc7887ee69af3","_id":"mocha-clean@0.2.0","_shasum":"952b3056b4908cd5b30c9b501158ae9f3a3b8f94","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"952b3056b4908cd5b30c9b501158ae9f3a3b8f94","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.2.0.tgz","integrity":"sha512-azF0dpeXYthH3LRcwUH/w4jUpctvSMCRQMJ6EIbh95Bw9OCOH/8qznmkjDyG8V9Ab4qr2H/KJ9te+DcFPjrCFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAhwifERkntZWPQQoZl9DvBaCO9L9c9oIuR53vr5RqEAiAJwJMNFd0DthxXlCoeDF5iKtWqr7xSVN9RNIyAkJPuDw=="}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.2.1":{"name":"mocha-clean","version":"0.2.1","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"47031f5ff55700cde2b0ac33b77a64f12f8e4cf6","_id":"mocha-clean@0.2.1","_shasum":"afdce386effc3f7031fd759744cde9c4ef2bc6e4","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"afdce386effc3f7031fd759744cde9c4ef2bc6e4","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.2.1.tgz","integrity":"sha512-Op5GxRZSYcjD+mGdfrbTD8aG0ZzQIk7ocxxch8pq8Z+GNQcFbpVllnys5OJE7C3CQuEkY9uNMDV3bVaPDE80gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7v0sFzPLWXf7clvC2/jYk03+/Ui8FRh8GJ2WSDLjZsgIgOxWmt66DukwwZxiSVnzWKLgNzvYdOp6HupoRsRA5dBQ="}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.3.0":{"name":"mocha-clean","version":"0.3.0","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"365cc20bab4d832baf13ab1ea86c74122b9285b8","_id":"mocha-clean@0.3.0","_shasum":"e0d0f5a1f64bc5eb0111f6017ae5a487e43eef80","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"e0d0f5a1f64bc5eb0111f6017ae5a487e43eef80","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.3.0.tgz","integrity":"sha512-CROcrBTLyc/Zq5RE6Ag8wokliKP+QYT/00towkvJLzYKfeLU6Z0ofXhUiZ7W9fzNY3hWkuZDrl1cUk1JJdEndw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGPIshpdXwzlDzPs3xm05SUbwp1dWW/d5nJWxGfjs279AiEAyCKhEDOYS2vesuy7WDeA+7PSh1kW5CSOJvgwNw4qWa4="}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.3.1":{"name":"mocha-clean","version":"0.3.1","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"chai":"^1.9.1","mocha":"^1.21.4"},"gitHead":"ffe8f07e05d566aee31cb57fe35598eacfa56962","_id":"mocha-clean@0.3.1","_shasum":"4fa23e63963080745a16a43150ff7ee436e7a695","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"4fa23e63963080745a16a43150ff7ee436e7a695","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.3.1.tgz","integrity":"sha512-Zi9+o4QaFU59c84+pWb+v6LcmzDsRtVA30ZoC4patb7t6h54uOQ7fpwZlOrmBHmQVMroj7r/IFRtLbysNyVahg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXh80BmRq1sh+3gWzIA22HN3ouVzxOQPWAXcL1gqFcfwIhAN2ZjZcqAGt0GHm1e4nGr1vwAmJiLCQEt0KijybfzhF5"}]},"deprecated":"Mocha 2.2.5 already shortens stack traces by default."},"0.4.0":{"name":"mocha-clean","version":"0.4.0","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha","coverage":"env COVERAGE=1 mocha -R html-cov > coverage.html && open coverage.html"},"repository":{"type":"git","url":"https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"blanket":"^1.1.6","chai":"^1.9.1","coveralls":"^2.11.2","mocha":"^1.21.4","mocha-lcov-reporter":"0.0.1"},"gitHead":"b78c0cd76bfc0fb96fe47234c3d3e1f3566113ad","_id":"mocha-clean@0.4.0","_shasum":"09b6985c321816140321e103e7dde4b48760921c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"09b6985c321816140321e103e7dde4b48760921c","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-0.4.0.tgz","integrity":"sha512-BftHw52rVdBUBUdt8r4UjPgN/slxa8ZQ2kw7mogC5WjuPkz3cx8DZC38ivDPWojn4ie+ogX0r0lKiEe7H89o3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAiS1j+LrQxfQcwfX8YTjLT5BjC3G5TJzQJXrEspTZKQIhAJRkzLd/LBBeL8Kulvpd1kz+n541DMblLeN6kzcvaz71"}]}},"1.0.0":{"name":"mocha-clean","version":"1.0.0","description":"Cleans up mocha stack traces.","main":"index.js","scripts":{"test":"mocha","coverage":"env COVERAGE=1 mocha -R html-cov > coverage.html && open coverage.html"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/mocha-clean.git"},"keywords":["mocha"],"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"homepage":"https://github.com/rstacruz/mocha-clean","devDependencies":{"blanket":"^1.1.6","chai":"^1.9.1","coveralls":"^2.11.2","mocha":"^1.21.4","mocha-lcov-reporter":"0.0.1"},"gitHead":"bb6e62795a3f88efe91886050208fa708b27360a","_id":"mocha-clean@1.0.0","_shasum":"7e769b16cb38745df62a28917077953b05fec064","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"dist":{"shasum":"7e769b16cb38745df62a28917077953b05fec064","tarball":"https://registry.npmjs.org/mocha-clean/-/mocha-clean-1.0.0.tgz","integrity":"sha512-1GFhy+5nkz6lle/fpoTvgiXnObhpzy7VZYkg+zfmHf2Dewu99uCJ6ycVXa5UjFlhMBGE0CvdIot9yifb85g2gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/wePhyb4kZz5Bbt2G2aNK6XVYRuVjLpzR341BdsMvZAiEAvIU1iXqp7IfdpcWer8dgL36GyxwAur9Om6A8KiZl3wA="}]},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}]}},"readme":"# mocha-clean\n\nCleans up [mocha] test stack traces.\n\n![Loading screenshot...](https://raw.githubusercontent.com/rstacruz/mocha-clean/gh-pages/comparison.png)\n\n[![Status](http://img.shields.io/travis/rstacruz/mocha-clean/master.svg?style=flat)](https://travis-ci.org/rstacruz/mocha-clean \"See test builds\")\n\n\n## Purpose\n\nMocha stack traces are riddled with frames that you don't want to see, like code from modules and Mocha internals.\n\n```\n  1) Test:\n     ReferenceError: someKey is not defined\n      at Context.<anonymous> (/Users/rsc/Projects/mocha-clean/test/test.js:24:5)\n      at callFn (/Users/rsc/Projects/mocha-clean/node_modules/mocha/lib/runnable.js:249:21)\n      at Test.Runnable.run (/Users/rsc/Projects/mocha-clean/node_modules/mocha/lib/runnable.js:242:7)\n      at Runner.runTest (/Users/rsc/Projects/mocha-clean/node_modules/mocha/lib/runner.js:373:10)\n      ...\n```\n\nThis is better:\n\n```\n  1) Test:\n     ReferenceError: someKey is not defined\n      at myFunction (test/test:7:1)\n      at test/test.js:24:5\n```\n\nIt strips away mocha internals, node_modules, absolute paths (based on cwd), and \nother unneccessary cruft.\n\n<br>\n\n## Usage (Node.js)\n\n[![npm version](http://img.shields.io/npm/v/mocha-clean.svg?style=flat)](https://npmjs.org/package/mocha-clean \"View this project on npm\")\nAvailable via npm.\n\n```sh\n$ npm i --save-dev mocha-clean\n```\n\nAdd this to your `test/mocha.opts`:\n\n```js\n--require mocha-clean\n```\n\n<br>\n\n## Usage (browser)\n\nExperimental browser support is available. Get the latest version here:\n\n> [](#version) `<script src=\"//cdn.rawgit.com/rstacruz/mocha-clean/v0.4.0/index.js\"></script>`\n\nIn the browser, use `mocha.traceIgnores` to define files to be excluded. Your\nsetup will likely look like this (with [chai.js] in this example):\n\n```html\n<script src=\"mocha.js\"></script>\n<script src=\"chai.js\"></script>\n<script src=\"mocha-clean.js\"></script>\n<script>mocha.setup('bdd')</script>\n<script>mocha.traceIgnores = ['mocha.js', 'chai.js']</script>\n<script src=\"tests.js\"></script>\n<script>mocha.run()</script>\n```\n\n[chai.js]: http://chaijs.com\n\n<br>\n\n## Brief mode\n\nTo display [brief format] error messages similar to C++, Ruby and so on,\nadd this to `test/mocha.opts`:\n\n```js\n--require mocha-clean/brief\n```\n\nThis displays the filenames first (`file:n:n: function`), which is reformatted from\nthe JavaScript-style `at function (file:n:n)`.\n\n```\n1) error:\n   ReferenceError: xyz is not defined\n    test/fail.js:12:4: myfunction\n    test/fail.js:9:9: Context.<anonymous>\n```\n\n<br>\n\n## Showing node_modules\n\nBy default, mocha-clean removes anything under `node_modules`.\nTo disable this behavior, add this to `test/mocha.opts`:\n\n```js\n--require mocha-clean/show_node_modules\n```\n\n<br>\n\n## Using with Gulp, Grunt, Karma, et al\n\nSee: **[Using with mocha loaders ▸](docs/Using_with_mocha_loaders.md)**\n\n<br>\n\n## Showing absolute paths\n\nBy default, mocha-clean removes the current working directory from the beginning\nof paths. To disable this behavior, add this to `test/mocha.opts`:\n\n```js\n--require mocha-clean/absolute_paths\n```\n\n<br>\n\n## Related discussions\n\nThere was talk in 2012 to bring this feature to mocha itself (see [mocha#545]),\nwhich eventually was merged around v2.2.5. It's been updated eversince to only\naffect mocha's internals. In contrast, mocha-clean cleans up all your\n`node_modules`'s stack frames.\n\nmocha-clean has been tested with mocha 1.21.x and will likely work for the \nentire mocha 1.x series.\n\n[mocha#545]: https://github.com/visionmedia/mocha/issues/545\n\n<br>\n\n## Thanks\n\n[mocha]: http://visionmedia.github.io/mocha\n[brief format]: http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Output-and-Error-Message-Control.html\n\n**mocha-clean** © 2014+, Rico Sta. Cruz. Released under the [MIT] License.<br>\nAuthored and maintained by Rico Sta. Cruz with help from contributors ([list][contributors]).\n\n> [ricostacruz.com](http://ricostacruz.com) &nbsp;&middot;&nbsp;\n> GitHub [@rstacruz](https://github.com/rstacruz) &nbsp;&middot;&nbsp;\n> Twitter [@rstacruz](https://twitter.com/rstacruz)\n\n[MIT]: http://mit-license.org/\n[contributors]: http://github.com/rstacruz/mocha-clean/contributors\n\n","maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"time":{"modified":"2022-06-20T01:19:53.120Z","created":"2014-09-25T03:16:26.168Z","0.0.1":"2014-09-25T03:16:26.168Z","0.1.0":"2014-09-25T04:21:47.912Z","0.1.1":"2014-09-25T04:31:16.694Z","0.1.2":"2014-09-25T04:47:57.226Z","0.1.3":"2014-09-25T04:59:57.520Z","0.2.0":"2014-09-25T05:34:48.394Z","0.2.1":"2014-09-28T11:00:14.205Z","0.3.0":"2014-10-09T13:33:45.190Z","0.3.1":"2014-11-02T13:03:40.938Z","0.4.0":"2014-11-08T06:46:47.608Z","1.0.0":"2015-11-13T13:06:26.318Z"},"homepage":"https://github.com/rstacruz/mocha-clean","keywords":["mocha"],"repository":{"type":"git","url":"git+https://github.com/rstacruz/mocha-clean.git"},"author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"bugs":{"url":"https://github.com/rstacruz/mocha-clean/issues"},"license":"MIT","readmeFilename":"Readme.md","users":{"stringparser":true,"goliatone":true}}