Skip to content

Commit 0f12393

Browse files
authored
fix JS sample test + always how compiler output + bump ver to 0.0.25 (#57)
1 parent 860d27a commit 0f12393

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

workspace/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspace/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aptos-labs/workspace",
3-
"version": "0.0.24",
3+
"version": "0.0.25",
44
"license": "Apache-2.0",
55
"bin": {
66
"aptos-workspace": "./dist/internal/cli.js",

workspace/sample-project/js/tests/my-first-test.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import { expect } from "chai";
2-
import {
3-
publishMovePackage,
4-
getTestSigners,
5-
workspace,
6-
} from "@aptos-labs/workspace";
1+
const { expect } = require("chai");
2+
const { publishMovePackage, getTestSigners, workspace } = require("@aptos-labs/workspace");
73

84
let packageObjectAddress;
95

workspace/src/tasks/publishMovePackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const publishMovePackageTask = async (args: {
4242
`--private-key=${publisher.privateKey}`,
4343
`--url=${workspace.config.fullnode}`,
4444
],
45-
showStdout: configVerbose ?? false,
45+
showStdout: true // configVerbose ?? false,
4646
});
4747
return response.objectAddress;
4848
};

workspace/src/tasks/publishMoveScript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const publishCompiledMoveScriptTask = async (args: {
2525
`--private-key=${publisher.privateKey}`,
2626
`--url=${workspace.config.fullnode}`,
2727
],
28-
showStdout: configVerbose ?? false,
28+
showStdout: true // configVerbose ?? false,
2929
});
3030
return response.output;
3131
};

0 commit comments

Comments
 (0)