Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

style fixes

TJ Holowaychuk353c4e50dd6b
diff --git a/test/utils.js b/test/utils.js
index 007afe97..f5ea9dc1 100644
--- a/test/utils.js
+++ b/test/utils.js
@@ -1,12 +1,10 @@
-var mocha = require('../')
- , utils = mocha.utils;
-
-describe("Utils", function (){
-
- describe('.clean()', function() {
- var clean = utils.clean;
+var mocha = require('..');
+var utils = mocha.utils;
+var clean = utils.clean;
+describe('utils', function(){
+ describe('.clean()', function(){
it('should remove the wrapping function declaration', function(){
clean('function (one, two, three) {\n//code\n}').should.equal('//code');
})