Fix tests, remove some console output
continuous-integration/appveyor/branch AppVeyor build succeeded Details

master
TheThing 2023-09-28 09:49:56 +00:00
parent 5c9ead16b6
commit b7866113f0
2 changed files with 2 additions and 3 deletions

View File

@ -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'))

View File

@ -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])