From 1d12d6cc385a343cfaf2eda7f6fa277b1d4effba Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Tue, 13 Feb 2024 14:01:23 -0800 Subject: [PATCH] chore: make test work on master --- a3p-integration/proposals/b:upgrade-14/package.json | 2 +- .../b:upgrade-14/{repairs.test.ts => repairs.test.js} | 4 ++-- a3p-integration/proposals/b:upgrade-14/test.sh | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) rename a3p-integration/proposals/b:upgrade-14/{repairs.test.ts => repairs.test.js} (95%) create mode 100644 a3p-integration/proposals/b:upgrade-14/test.sh diff --git a/a3p-integration/proposals/b:upgrade-14/package.json b/a3p-integration/proposals/b:upgrade-14/package.json index 10ff0918e7fb..88cdbd9a141d 100644 --- a/a3p-integration/proposals/b:upgrade-14/package.json +++ b/a3p-integration/proposals/b:upgrade-14/package.json @@ -13,7 +13,7 @@ "type": "module", "license": "Apache-2.0", "dependencies": { - "@agoric/synthetic-chain": "^0.0.5-3", + "@agoric/synthetic-chain": "^0.0.6-4", "ava": "^5.3.1" }, "scripts": { diff --git a/a3p-integration/proposals/b:upgrade-14/repairs.test.ts b/a3p-integration/proposals/b:upgrade-14/repairs.test.js similarity index 95% rename from a3p-integration/proposals/b:upgrade-14/repairs.test.ts rename to a3p-integration/proposals/b:upgrade-14/repairs.test.js index 9c660adf6b21..c8c4b6a80d5f 100755 --- a/a3p-integration/proposals/b:upgrade-14/repairs.test.ts +++ b/a3p-integration/proposals/b:upgrade-14/repairs.test.js @@ -3,11 +3,11 @@ import { readFile, writeFile } from 'node:fs/promises'; import test from 'ava'; -import { makeAgd } from '@agoric/synthetic-chain/src/lib/agd-lib.js'; import { + makeAgd, getUser, voteLatestProposalAndWait, -} from '@agoric/synthetic-chain/src/lib/commonUpgradeHelpers.js'; +} from '@agoric/synthetic-chain'; const SUBMISSION_DIR = 'invite-submission'; diff --git a/a3p-integration/proposals/b:upgrade-14/test.sh b/a3p-integration/proposals/b:upgrade-14/test.sh new file mode 100644 index 000000000000..419b3a5ce693 --- /dev/null +++ b/a3p-integration/proposals/b:upgrade-14/test.sh @@ -0,0 +1,4 @@ +#!/bin/bash +source /usr/src/upgrade-test-scripts/env_setup.sh + +yarn ava