diff --git a/test/find.test.js b/test/find.test.js index e7ee03d..94ff0c6 100644 --- a/test/find.test.js +++ b/test/find.test.js @@ -18,9 +18,8 @@ describe('Find process test', function () { this.timeout(10000); it('should run the bin/find-process.js', function () { - const result = cp.execSync('./bin/find-process.js -v').toString() - console.log(result) - assert.equal(result, pkg.version) + const result = cp.execSync('./bin/find-process.js -V').toString() + assert.equal(result.trim(), pkg.version) }) it('should find process of listenning port', function () {