Permalink
Browse files

fixed unittest for node0.6.x

  • Loading branch information...
1 parent 0cf74e6 commit 9bb4d97280016423710cbf61c99f77a278556ff9 @fengmk2 fengmk2 committed Nov 5, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 .npmignore
  3. +1 −0 test/jscover.test.js
View
@@ -1,5 +1,6 @@
lib-cov
cov/
+__cov__*
all-cov/
coverage.html
*.seed
View
@@ -1,5 +1,6 @@
test/
cov/
+__cov__*
all-cov/
coverage.html
lib-cov/
View
@@ -15,6 +15,7 @@ var should = require('should');
var path = require('path');
var fs = require('fs');
var fse = require('fs-extra');
+fs.existsSync = fs.existsSync || path.existsSync;
describe('jscover.test.js', function () {

0 comments on commit 9bb4d97

Please sign in to comment.