Skip to content

Commit d7a0a0e

Browse files
committed
test(a3p): retain initial.test.js
1 parent 553b4d4 commit d7a0a0e

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import test from 'ava';
2+
import '@endo/init/debug.js';
3+
4+
import { getVatDetails } from '@agoric/synthetic-chain';
5+
6+
const vats = {
7+
network: { incarnation: 2 },
8+
ibc: { incarnation: 2 },
9+
localchain: { incarnation: 2 },
10+
orchestration: { incarnation: 1 },
11+
transfer: { incarnation: 2 },
12+
walletFactory: { incarnation: 6 },
13+
zoe: { incarnation: 4 },
14+
// Terminated in a future proposal.
15+
'-ATOM-USD_price_feed-governor': { incarnation: 0 },
16+
};
17+
18+
test(`vat details`, async t => {
19+
const actual = {};
20+
for await (const vatName of Object.keys(vats)) {
21+
actual[vatName] = await getVatDetails(vatName);
22+
}
23+
t.like(actual, vats, `vat details are alike`);
24+
});

a3p-integration/proposals/n:upgrade-next/test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
yarn ava initial.test.js
34
yarn ava replaceFeeDistributor.test.js
45
yarn ava mintHolder.test.js
56
yarn ava provisionPool.test.js

0 commit comments

Comments
 (0)