mock-chronik-client
Version:
Testing utility to mock the Chronik indexer client and support unit tests that need to mock chronik related API calls.
52 lines (51 loc) • 1.53 kB
JSON
{
"dependencies": {
"chronik-client": "^3.0.0",
"ecashaddrjs": "^2.0.0",
"ws": "^8.18.0"
},
"name": "mock-chronik-client",
"description": "Testing utility to mock the Chronik indexer client and support unit tests that need to mock chronik related API calls.",
"version": "3.0.0",
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.1",
"@types/mocha": "^10.0.10",
"@types/ws": "^8.5.13",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.1",
"eslint": "8.57",
"eslint-plugin-header": "^3.1.1",
"mocha": "^10.8.2",
"mocha-junit-reporter": "^2.2.1",
"nyc": "^15.1.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0"
},
"scripts": {
"test": "mocha --import=tsx index.test.ts",
"build": "tsc",
"coverage": "nyc mocha",
"junit": "mocha test --reporter mocha-junit-reporter"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Bitcoin-ABC/bitcoin-abc.git",
"directory": "modules/mock-chronik-client"
},
"keywords": [
"chronik-client",
"chronik",
"mock"
],
"author": "Bitcoin ABC",
"license": "MIT",
"homepage": "https://github.com/Bitcoin-ABC/bitcoin-abc#readme"
}