Skip to content

Commit

Permalink
readded unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wooley authored and Eric Wooley committed Dec 14, 2015
1 parent 7ab3173 commit 8e1a97e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ import mergedirs from '../src'
import fs from 'node-fs'

/* globals describe, it */
// describe('merge dirs', function () {
// it('should merge 2 folders', function (done) {
describe('merge dirs', function () {
it('should merge 2 folders', function (done) {
fs.mkdirSync(__dirname + '/c')
mergedirs(__dirname + '/a', __dirname + '/c')
mergedirs(__dirname + '/b', __dirname + '/c')
//
// fs.existsSync(__dirname + '/c/hello.txt').should.equal(true)
// fs.existsSync(__dirname + '/c/world.txt').should.equal(true)
// done()
// })
// })
fs.existsSync(__dirname + '/c/hello.txt').should.equal(true)
fs.existsSync(__dirname + '/c/world.txt').should.equal(true)
done()
})
})

0 comments on commit 8e1a97e

Please sign in to comment.