Skip to content

Commit bc1b0ee

Browse files
committed
Merge branch 'main' of github.com:toneflix/paystack-cli
2 parents 52e06fe + 0fc7165 commit bc1b0ee

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Paystack CLI
22

3-
[![npm version](https://img.shields.io/npm/v/@toneflix/paystack-cli.svg)](https://www.npmjs.com/package/@toneflix/paystack-cli)
4-
[![License](https://img.shields.io/npm/l/@toneflix/paystack-cli.svg)](https://github.com/toneflix/paystack-cli/blob/main/LICENSE)
5-
[![CI](https://github.com/toneflix/paystack-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/toneflix/paystack-cli/actions/workflows/ci.yml)
3+
[![npm version](https://img.shields.io/npm/v/@toneflix/paystack-cli.svg?label=npm+version&style=flat-square)](https://www.npmjs.com/package/@toneflix/paystack-cli)
4+
[![npm downloads](https://img.shields.io/npm/dt/%40toneflix%2Fpaystack-cli?style=flat-square)](https://www.npmjs.com/package/@toneflix/paystack-cli)
5+
[![GitHub License](https://img.shields.io/github/license/toneflix/paystack-cli?style=flat-square)](https://github.com/toneflix/paystack-cli/blob/main/LICENSE)
6+
[![CI](https://github.com/toneflix/paystack-cli/actions/workflows/ci.yml/badge.svg?label=Tests)](https://github.com/toneflix/paystack-cli/actions/workflows/ci.yml)
67
[![Deploy Docs](https://github.com/toneflix/paystack-cli/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/toneflix/paystack-cli/actions/workflows/deploy-docs.yml)
78

89
The Paystack CLI helps you build, test, and manage your Paystack integration right from the terminal. Interact with the Paystack API, test webhooks locally, and manage your integration settings without leaving your command line.

tests/helpers.spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from 'vitest'
2-
import { isJson, parseURL, promiseWrapper, wait } from '../src/helpers'
2+
import { isJson, parseURL, promiseWrapper } from '../src/helpers'
33

44
describe('Helpers Test', () => {
55
it('parseURL should correctly parse URLs', () => {
@@ -19,12 +19,12 @@ describe('Helpers Test', () => {
1919
expect(url4.pathname).toBe('/path')
2020
})
2121

22-
it('wait should delay execution for specified milliseconds', async () => {
23-
const start = Date.now()
24-
await wait(100)
25-
const end = Date.now()
26-
expect(end - start).toBeGreaterThanOrEqual(100)
27-
})
22+
// it('wait should delay execution for specified milliseconds', async () => {
23+
// const start = Date.now()
24+
// await wait(100)
25+
// const end = Date.now()
26+
// expect(end - start).toBeGreaterThanOrEqual(100)
27+
// })
2828

2929
it('isJson should correctly identify JSON objects', () => {
3030
expect(isJson({})).toBe(true)
@@ -48,4 +48,4 @@ describe('Helpers Test', () => {
4848
expect(err2).toBe('failure')
4949
expect(result2).toBeNull()
5050
})
51-
})
51+
})

0 commit comments

Comments
 (0)