Skip to content

Commit

Permalink
Chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Dec 18, 2021
1 parent 24483b8 commit 6faae88
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/package/success.test.js
@@ -1,6 +1,5 @@
import path from 'path';
import { assert } from 'chai';
import FormData from 'form-data';
import Test, { load } from '../Test';
import { checkError } from '../utils';

Expand Down Expand Up @@ -74,26 +73,26 @@ test('Positive: telegra.ph', async function () {
### Chore
* fixes audit [devDependencies] ([d08b1fc](https://github.com/pustovitDmytro/semantic-release-telegram/commit/d08b1fc075b7eef59c59f755e1ee96748824e415))
* fixes audit [devDependencies] ([d08b1fc](https://github.com/pustovitDmytro/semantic-release-telegram/commit/11))
### Upgrade
* Update dependency git-url-parse to v11.6.0 ([0ee4167](https://github.com/pustovitDmytro/semantic-release-telegram/commit/0ee4167d974808539e5b749ec2d43fc61599d8eb))
* Update dependency git-url-parse to v11.6.0 ([1](https://github.com/pustovitDmytro/semantic-release-telegram/commit/s))
`;

const verified = { name: 'test-app', templates, chats: [ 1, 2 ], repository, 'telegra.ph': telegraph };

await success.call(
{ verified },
null,
{
logger: console,
nextRelease: { version: '1.0.2', type: 'patch', notes }
{
logger : console,
nextRelease : { version: '1.0.2', type: 'patch', notes }
}
);

assert.lengthOf(await factory.getApiCalls('type=requestSent&url=createPage'), 1);
assert.lengthOf(await factory.getApiCalls('type=requestSent&url=sendMessage'), 2*2);
assert.lengthOf(await factory.getApiCalls('type=requestSent&url=sendMessage'), 2 * 2);
});

test('Negative: missing verify', async function () {
Expand Down

0 comments on commit 6faae88

Please sign in to comment.