Skip to content

Commit

Permalink
test(a3p): retain initial.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mujahidkay committed Jan 30, 2025
1 parent 553b4d4 commit d7a0a0e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions a3p-integration/proposals/n:upgrade-next/initial.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import test from 'ava';
import '@endo/init/debug.js';

import { getVatDetails } from '@agoric/synthetic-chain';

const vats = {
network: { incarnation: 2 },
ibc: { incarnation: 2 },
localchain: { incarnation: 2 },
orchestration: { incarnation: 1 },
transfer: { incarnation: 2 },
walletFactory: { incarnation: 6 },
zoe: { incarnation: 4 },
// Terminated in a future proposal.
'-ATOM-USD_price_feed-governor': { incarnation: 0 },
};

test(`vat details`, async t => {
const actual = {};
for await (const vatName of Object.keys(vats)) {
actual[vatName] = await getVatDetails(vatName);
}
t.like(actual, vats, `vat details are alike`);
});

Check warning on line 24 in a3p-integration/proposals/n:upgrade-next/initial.test.js

View workflow job for this annotation

GitHub Actions / lint-rest

Insert `⏎`
1 change: 1 addition & 0 deletions a3p-integration/proposals/n:upgrade-next/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

yarn ava initial.test.js
yarn ava replaceFeeDistributor.test.js
yarn ava mintHolder.test.js
yarn ava provisionPool.test.js
Expand Down

0 comments on commit d7a0a0e

Please sign in to comment.