Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function main(withSES, basedir, argv) {
const dir = path.resolve('test/swingsetTests', basedir);
const config = await loadBasedir(dir);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
const controller = await buildVatController(config, withSES, argv);
await controller.run();
return controller.dump();
}
async function main(withSES, basedir, argv) {
const dir = path.resolve('test/swingsetTests', basedir);
const config = await loadBasedir(dir);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
const controller = await buildVatController(config, withSES, argv);
await controller.run();
return controller.dump();
}
async function main(withSES, basedir, argv) {
const dir = path.resolve('test/swingsetTests', basedir);
const config = await loadBasedir(dir);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
const controller = await buildVatController(config, withSES, argv);
await controller.run();
return controller.dump();
}
async function main(withSES, basedir, argv) {
const dir = path.resolve('test/swingsetTests', basedir);
const config = await loadBasedir(dir);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
await generateBundlesP;
const controller = await buildVatController(config, withSES, argv);
await controller.run();
return controller.dump();
}
async function main(withSES, basedir, argv) {
const dir = path.resolve('test/swingsetTests', basedir);
const config = await loadBasedir(dir);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
const controller = await buildVatController(config, withSES, argv);
await controller.run();
return controller.dump();
}
async function main(withSES, basedir, argv) {
const dir = path.resolve('test/swingsetTests', basedir);
const config = await loadBasedir(dir);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
const controller = await buildVatController(config, withSES, argv);
await controller.run();
return controller.dump();
}
async function main(withSES, basedir, argv) {
const dir = path.resolve('test/swingsetTests', basedir);
const config = await loadBasedir(dir);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
const controller = await buildVatController(config, withSES, argv);
await controller.run();
return controller.dump();
}