diff --git a/package.json b/package.json index 3a2aa8c..3922c2c 100644 --- a/package.json +++ b/package.json @@ -33,10 +33,7 @@ "branches": [ "master" ], - "debug": false, - "verifyConditions": { - "path": "./node_modules/semantic-release/src/lib/plugin-noop.js" - } + "debug": false }, "devDependencies": { "chai": "^4.2.0", diff --git a/test/index.test.js b/test/index.test.js index 0ddb37e..7e1394c 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -147,7 +147,7 @@ describe('index test', () => { describe('getChangedFiles', () => { const type = 'pr'; - const payload = { + const webhookConfig = { type }; @@ -166,7 +166,7 @@ describe('index test', () => { }); return instance - .getChangedFiles({ type, payload, token }) + .getChangedFiles({ type, webhookConfig, token }) .then(() => { assert.fail('you will never get dis'); }) @@ -177,7 +177,7 @@ describe('index test', () => { }); it('returns not implemented', () => - instance.getChangedFiles({ type, payload, token }).then( + instance.getChangedFiles({ type, webhookConfig, token }).then( () => { assert.fail('This should not fail the test'); },