Skip to content

Commit

Permalink
chore(spawner): stop using install-metering-and-ses
Browse files Browse the repository at this point in the history
refs #3373
  • Loading branch information
warner authored and kriskowal committed Jun 22, 2021
1 parent 36069f1 commit f2a127d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/spawner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"devDependencies": {
"@agoric/babel-standalone": "^7.14.3",
"@agoric/bundle-source": "^1.3.9",
"@agoric/install-metering-and-ses": "^0.2.15",
"@agoric/install-ses": "^0.5.15",
"@agoric/swingset-vat": "^0.18.0",
"ava": "^3.12.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// TODO Remove babel-standalone preinitialization
// https://github.com/endojs/endo/issues/768
import '@agoric/babel-standalone';
import '@agoric/install-metering-and-ses';
import '@agoric/install-ses';
import test from 'ava';
import path from 'path';
import bundleSource from '@agoric/bundle-source';
Expand All @@ -19,8 +19,9 @@ test.before(async t => {
t.context.data = { kernelBundles, trivialBundle };
});

async function main(t, mode) {
async function main(t, mode, defaultManagerType = 'local') {
const config = await loadBasedir(__dirname);
config.defaultManagerType = defaultManagerType;
const { kernelBundles, trivialBundle } = t.context.data;
const argv = [mode, trivialBundle];
const controller = await buildVatController(config, argv, { kernelBundles });
Expand All @@ -47,6 +48,6 @@ const contractExhaustedGolden = [
];

test('exhaustion', async t => {
const dump = await main(t, 'exhaust');
const dump = await main(t, 'exhaust', 'xs-worker');
t.deepEqual(dump.log, contractExhaustedGolden);
});

0 comments on commit f2a127d

Please sign in to comment.