diff --git a/README.md b/README.md index 0ac7e688..176c96f4 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,14 @@ You can send text messages, Kakaotalk in Korea using this package. ## Installing To use the SDK, simply use npm package manager CLI. Type the following into a terminal window. +### npm ```bash npm install solapi ``` +### yarn +```bash +yarn add solapi +``` ## Usage diff --git a/tests/test.js b/tests/test.js index caff8692..0a71d0ce 100644 --- a/tests/test.js +++ b/tests/test.js @@ -108,7 +108,7 @@ describe('test', () => { }) expect(data.errorCount).to.equal(0) const result = await group.sendMessages() - expect(result).to.have.all.keys('app', 'balance', 'countForCharge', 'customFields', 'dateCompleted', 'dateSent', 'isRefunded', 'osPlatform', 'point', 'prepaid', 'price', 'sdkVersion', 'serviceMethod', 'strict', 'count', 'log', 'status', '_id', 'groupId', 'hint', 'accountId', 'apiVersion', 'dateCreated', 'dateUpdated', 'flagUpdated') + expect(result).to.have.all.keys('app', 'balance', 'countForCharge', 'customFields', 'dateCompleted', 'dateSent', 'isRefunded', 'osPlatform', 'point', 'prepaid', 'price', 'sdkVersion', 'serviceMethod', 'strict', 'count', 'log', 'status', '_id', 'groupId', 'hint', 'masterAccountId', 'accountId', 'apiVersion', 'dateCreated', 'dateUpdated', 'flagUpdated') }) it('그룹 삭제 (정상)', async () => { const group = new Group() @@ -129,7 +129,7 @@ describe('test', () => { const group = new Group() await group.createGroup() const data = await Group.getInfo(group.getGroupId()) - expect(data).to.have.all.keys('app', 'balance', 'countForCharge', 'customFields', 'dateCompleted', 'dateSent', 'isRefunded', 'osPlatform', 'point', 'prepaid', 'price', 'sdkVersion', 'serviceMethod', 'count', 'log', 'status', 'strict', '_id', 'groupId', 'hint', 'accountId', 'apiVersion', 'dateCreated', 'dateUpdated', 'flagUpdated') + expect(data).to.have.all.keys('app', 'balance', 'countForCharge', 'customFields', 'dateCompleted', 'dateSent', 'isRefunded', 'osPlatform', 'point', 'prepaid', 'price', 'sdkVersion', 'serviceMethod', 'count', 'log', 'status', 'strict', '_id', 'groupId', 'hint', 'masterAccountId', 'accountId', 'apiVersion', 'dateCreated', 'dateUpdated', 'flagUpdated') }) it('그룹 정보 조회 (생성 전)', async () => { const group = new Group()