Fix tests, remove some console output
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
5c9ead16b6
commit
b7866113f0
2 changed files with 2 additions and 3 deletions
|
@ -294,7 +294,6 @@ t.describe('CLI', function() {
|
|||
|
||||
assert.ok(cli.watcher)
|
||||
assert.strictEqual(typeof cli.watcher.options.filter.test, 'function')
|
||||
console.log(cli.watcher.options.filter)
|
||||
|
||||
assert.ok(cli.watcher.options.filter.test('filename.js'))
|
||||
assert.ok(cli.watcher.options.filter.test('folder/filename.js'))
|
||||
|
|
|
@ -457,13 +457,13 @@ t.describe('watcher', function() {
|
|||
})
|
||||
})
|
||||
|
||||
t.describe('should store original paths in object', function() {
|
||||
t.test('should store original paths in object', function() {
|
||||
var dir = builder.getPath('home')
|
||||
watcher = new Watcher(dir)
|
||||
assert.deepStrictEqual(watcher.originalPaths, [dir])
|
||||
})
|
||||
|
||||
t.describe('should store all original paths in object', function() {
|
||||
t.test('should store all original paths in object', function() {
|
||||
var dir1 = builder.getPath('home/a')
|
||||
var dir2 = builder.getPath('home/b')
|
||||
watcher = new Watcher([dir1, dir2])
|
||||
|
|
Loading…
Reference in a new issue