diff --git a/test/cli.test.mjs b/test/cli.test.mjs index 4b3b8d6..17edaba 100644 --- a/test/cli.test.mjs +++ b/test/cli.test.mjs @@ -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')) diff --git a/test/watch.test.mjs b/test/watch.test.mjs index 2983ee2..7ec0070 100644 --- a/test/watch.test.mjs +++ b/test/watch.test.mjs @@ -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])