Skip to content

Commit

Permalink
Readme fix to travis badge
Browse files Browse the repository at this point in the history
  • Loading branch information
adonisv79 committed Apr 10, 2021
1 parent e5ddd01 commit 4031c42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ This is an axios based swish client used to make SWISH communications with a ser
* Package: [![npm](https://img.shields.io/npm/v/request-swish.svg)](https://www.npmjs.com/package/request-swish) [![npm](https://img.shields.io/npm/dm/request-swish.svg)](https://www.npmjs.com/package/request-swish)
* License: [![GitHub](https://img.shields.io/github/license/adonisv79/request-swish.svg)](https://github.com/adonisv79/request-swish/blob/master/LICENSE)
* CICD: [![Codacy Badge](https://app.codacy.com/project/badge/Grade/b8dd3e1b4fe54c90a96b9b6a25981018)](https://www.codacy.com/gh/adonisv79/request-swish/dashboard?utm_source=github.com&utm_medium=referral&utm_content=adonisv79/request-swish&utm_campaign=Badge_Grade) [![Known Vulnerabilities](https://snyk.io/test/github/adonisv79/request-swish/badge.svg)](https://snyk.io/test/github/adonisv79/request-swish)
* develop: [![Build Status](https://travis-ci.org/adonisv79/request-swish.svg?branch=develop)](https://travis-ci.org/adonisv79/request-swish) [![Coverage Status](https://coveralls.io/repos/github/adonisv79/request-swish/badge.svg?branch=develop)](https://coveralls.io/github/adonisv79/request-swish?branch=develop)
* master: [![Build Status](https://travis-ci.org/adonisv79/request-swish.svg?branch=master)](https://travis-ci.org/adonisv79/request-swish) [![Coverage Status](https://coveralls.io/repos/github/adonisv79/request-swish/badge.svg?branch=master)](https://coveralls.io/github/adonisv79/request-swish?branch=master)
* develop: [![Build Status](https://www.travis-ci.com/adonisv79/request-swish.svg?branch=develop)](https://www.travis-ci.com/adonisv79/request-swish) [![Coverage Status](https://coveralls.io/repos/github/adonisv79/request-swish/badge.svg?branch=develop)](https://coveralls.io/github/adonisv79/request-swish?branch=develop)
* master: [![Build Status](https://www.travis-ci.com/adonisv79/request-swish.svg?branch=master)](https://www.travis-ci.com/adonisv79/request-swish) [![Coverage Status](https://coveralls.io/repos/github/adonisv79/request-swish/badge.svg?branch=master)](https://coveralls.io/github/adonisv79/request-swish?branch=master)

To install, run the following in your client project
```
Expand Down
3 changes: 2 additions & 1 deletion tools/test-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ async function test() {
await testRequest('test/success', { action: 'move', message: 'Japan', passcode: 'whereami' })
// destroy the session
await testDestroySession()
// try an illegal access now session is destoryed
// try an illegal access now session is destroyed
console.log('Session destroyed so the next call should fail...')
await testRequest('test/success', { action: 'move', message: 'Japan', passcode: 'whereami' })
// try to create a new handshake and connect again
console.log('Reconnecting and try again')
Expand Down

0 comments on commit 4031c42

Please sign in to comment.