-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: NOT WORKING: show that there's a second auction vat
- Loading branch information
1 parent
22d07be
commit 44189f6
Showing
3 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ | |
"doctor": "yarn synthetic-chain doctor" | ||
}, | ||
"dependencies": { | ||
"@agoric/synthetic-chain": "^0.0.7" | ||
"@agoric/synthetic-chain": "^0.0.7", | ||
"@types/better-sqlite3": "^7.6.9" | ||
}, | ||
"packageManager": "[email protected]", | ||
"license": "Apache-2.0" | ||
|
15 changes: 12 additions & 3 deletions
15
a3p-integration/proposals/a:upgrade-next/priceFeed-follower-auction.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
import test from 'ava'; | ||
import { executeCommand } from '@agoric/synthetic-chain'; | ||
import { getDetailsMatchingVats } from './vatDetails.js'; | ||
|
||
test('new auction vat', async t => { | ||
const data = await executeCommand('pgrep', ['-cf', 'auctioneer']); | ||
t.is(data, '2'); | ||
console.log('starting'); | ||
|
||
// const ls = await executeCommand('ls', ['/usr/bin/pgrep']); | ||
// console.log(ls); | ||
// const data = await executeCommand('/usr/bin/pgrep', ['-cf', 'auctioneer']); | ||
// t.is(data, '2'); | ||
|
||
const details = await getDetailsMatchingVats('auctioneer'); | ||
console.log(`test dees`, details); | ||
t.truthy(details); | ||
t.pass("I'm sure there are two auction vats, but I can't prove it here."); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters