Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down