Skip to content

Commit

Permalink
Merge pull request #162 from ardriveapp/PE-701_move_test_helpers
Browse files Browse the repository at this point in the history
refactor(stubs): Use CLI side stub PE-701
  • Loading branch information
fedellen authored Nov 18, 2021
2 parents 954da52 + 3bcde93 commit be35cd3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .pnp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "ardrive-cli",
"version": "1.1.1",
"version": "1.1.2",
"description": "The ArDrive Command Line Interface (CLI is a Node.js application for terminal-based ArDrive workflows. It also offers utility operations for securely interacting with Arweave wallets and inspecting various Arweave blockchain conditions.",
"main": "./lib/index.js",
"bin": {
"ardrive": "./lib/index.js"
},
"types": "./lib/index.d.ts",
"dependencies": {
"ardrive-core-js": "1.0.0",
"ardrive-core-js": "1.0.1",
"arweave": "^1.10.16",
"commander": "^8.2.0",
"lodash": "^4.17.21",
Expand Down
4 changes: 2 additions & 2 deletions src/CLICommand/parameters_helper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import {
import '../parameter_declarations';
import { CLIAction } from './action';
import { SUCCESS_EXIT_CODE } from './error_codes';
import { stubArweaveAddress, EID, urlEncodeHashKey } from 'ardrive-core-js';
import { ArweaveAddress, EID, urlEncodeHashKey } from 'ardrive-core-js';

const expectedArweaveAddress = stubArweaveAddress('P8aFJizMVBl7HeoRAz2i1dNYkG_KoN7oB9tZpIw6lo4');
const expectedArweaveAddress = new ArweaveAddress('P8aFJizMVBl7HeoRAz2i1dNYkG_KoN7oB9tZpIw6lo4');

const dummyActionHandler = () => Promise.resolve(SUCCESS_EXIT_CODE);

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ __metadata:
"@types/source-map-support": ^0
"@typescript-eslint/eslint-plugin": ^4.18.0
"@typescript-eslint/parser": ^4.18.0
ardrive-core-js: 1.0.0
ardrive-core-js: 1.0.1
arweave: ^1.10.16
chai: ^4.3.4
commander: ^8.2.0
Expand All @@ -1023,9 +1023,9 @@ __metadata:
languageName: unknown
linkType: soft

"ardrive-core-js@npm:1.0.0":
version: 1.0.0
resolution: "ardrive-core-js@npm:1.0.0"
"ardrive-core-js@npm:1.0.1":
version: 1.0.1
resolution: "ardrive-core-js@npm:1.0.1"
dependencies:
arweave: ^1.10.16
arweave-bundles: ^1.0.3
Expand All @@ -1042,7 +1042,7 @@ __metadata:
smartweave: ^0.4.45
utf8: ^3.0.0
uuid: ^8.3.2
checksum: abf005a0fbfd26b3e14a7d58bf592ea276561053f704d2b65532f2ed165f715af8f11090aed45543fc1716d30f80303e949c9d44f103dd5af308590bbe28ea3b
checksum: 0a2f7f56192f1e002d79550b17771f645d47797c68da84bb53b088522869401f8fcd7a4be97449377ef263d2abed0e7994467d063d0e354ded0174ed353e4046
languageName: node
linkType: hard

Expand Down

0 comments on commit be35cd3

Please sign in to comment.