Skip to content

Commit

Permalink
add getLinkAll
Browse files Browse the repository at this point in the history
  • Loading branch information
Chyroc Chen authored and Chyroc Chen committed Jan 14, 2017
1 parent 36dfcd0 commit 020d9a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/link.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ suite('link', () => {
expect(data['links'][0]['enabled'].toString()).to.equal('true')
})

test.skip('getLinkAll', () => {
sqoopClient.getLinkAll()
test('getLinkAll', async () => {
const data = await sqoopClient.getLinkAll()
expect(data['links']).to.have.lengthOf(1)
expect(data['links'][0]['name']).to.equal('test_link_2')
})

test('deleteLink and deleteLinkAll', async () => {
Expand Down

0 comments on commit 020d9a8

Please sign in to comment.