Skip to content

Commit 97c27bd

Browse files
authored
Merge pull request #2840 from input-output-hk/djo/2758/fix-stabilize-cdb-v2-phase4-client-wasm
fix: client wasm ci-test using removed `snapshot` function
2 parents 78a2890 + 1ee2721 commit 97c27bd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

mithril-client-wasm/ci-test/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ await run_test("constructor", test_number, async () => {
5656

5757
let snapshots;
5858
test_number++;
59-
await run_test("list_snapshots", test_number, async () => {
60-
snapshots = await client.list_snapshots();
61-
console.log("snapshots", snapshots);
59+
await run_test("list_cardano_database_snapshots", test_number, async () => {
60+
snapshots = await client.list_cardano_database_snapshots();
61+
console.log("list_cardano_database_snapshots", snapshots);
6262
});
6363

6464
test_number++;
65-
await run_test("get_snapshot", test_number, async () => {
66-
const snapshot = await client.get_snapshot(snapshots[0].digest);
67-
console.log("snapshot", snapshot);
65+
await run_test("get_cardano_database_snapshot", test_number, async () => {
66+
const snapshot = await client.get_cardano_database_snapshot(snapshots[0].digest);
67+
console.log("get_cardano_database_snapshot", snapshot);
6868
});
6969

7070
let mithril_stake_distributions;

mithril-client-wasm/ci-test/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.

mithril-client-wasm/ci-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "client-wasm-ci-test",
3-
"version": "0.3.13",
3+
"version": "0.3.14",
44
"private": true,
55
"scripts": {
66
"build": "webpack --config webpack.config.js",

0 commit comments

Comments
 (0)