Comparing version 0.0.0 to 0.0.1
@@ -1,2 +0,1 @@ | ||
#!/usr/bin/env node | ||
// Generated by CoffeeScript 1.4.0 | ||
@@ -8,3 +7,3 @@ (function() { | ||
mycha = new Mycha('test'); | ||
mycha = new Mycha(process.cwd()); | ||
@@ -11,0 +10,0 @@ mycha.run(); |
@@ -15,4 +15,3 @@ // Generated by CoffeeScript 1.4.0 | ||
function Mycha(testDir, options) { | ||
this.testDir = testDir; | ||
function Mycha(projectDir, options) { | ||
if (options == null) { | ||
@@ -24,2 +23,3 @@ options = {}; | ||
this.reporter = options.reporter || 'dot'; | ||
this.testDir = path.join(projectDir, 'test'); | ||
} | ||
@@ -26,0 +26,0 @@ |
{ | ||
"name": "mycha", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"main": "mycha.js", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4430
67