diff --git a/packages/SwingSet/package.json b/packages/SwingSet/package.json index 46a1b1f06ed..967f30457cf 100644 --- a/packages/SwingSet/package.json +++ b/packages/SwingSet/package.json @@ -21,6 +21,7 @@ "lint:eslint": "eslint '**/*.js'" }, "devDependencies": { + "@agoric/vat-data": "^0.1.0", "@endo/ses-ava": "^0.2.21", "@types/tmp": "^0.2.0", "ava": "^3.12.1", @@ -34,7 +35,6 @@ "@agoric/store": "^0.6.10", "@agoric/swing-store": "^0.6.5", "@agoric/xsnap": "^0.11.2", - "@agoric/vat-data": "^0.1.0", "@endo/base64": "^0.2.21", "@endo/bundle-source": "^2.1.1", "@endo/captp": "^2.0.3", diff --git a/packages/SwingSet/test/upgrade/test-upgrade.js b/packages/SwingSet/test/upgrade/test-upgrade.js index 183089ca36c..d903fab023a 100644 --- a/packages/SwingSet/test/upgrade/test-upgrade.js +++ b/packages/SwingSet/test/upgrade/test-upgrade.js @@ -23,6 +23,7 @@ function get(capdata, propname) { async function testUpgrade(t, defaultManagerType) { const config = { + includeDevDependencies: true, // for vat-data defaultManagerType, bootstrap: 'bootstrap', defaultReapInterval: 'never', @@ -93,6 +94,7 @@ test('vat upgrade - xsnap', async t => { test('failed upgrade - lost kind', async t => { const config = { + includeDevDependencies: true, // for vat-data defaultManagerType: 'xs-worker', bootstrap: 'bootstrap', defaultReapInterval: 'never', diff --git a/packages/SwingSet/test/virtualObjects/collection-slots/test-collection-slots.js b/packages/SwingSet/test/virtualObjects/collection-slots/test-collection-slots.js index 0bd529209f5..2745d0dd58f 100644 --- a/packages/SwingSet/test/virtualObjects/collection-slots/test-collection-slots.js +++ b/packages/SwingSet/test/virtualObjects/collection-slots/test-collection-slots.js @@ -26,6 +26,7 @@ function getImportSensorKref(impcapdata, i) { test('collection entry slots trigger doMoreGC', async t => { const config = { + includeDevDependencies: true, // for vat-data bootstrap: 'bootstrap', // defaultReapInterval: 'never', // defaultReapInterval: 1, diff --git a/packages/SwingSet/test/virtualObjects/delete-stored-vo/test-delete-stored-vo.js b/packages/SwingSet/test/virtualObjects/delete-stored-vo/test-delete-stored-vo.js index 2b701b05f1d..459b6d6e416 100644 --- a/packages/SwingSet/test/virtualObjects/delete-stored-vo/test-delete-stored-vo.js +++ b/packages/SwingSet/test/virtualObjects/delete-stored-vo/test-delete-stored-vo.js @@ -26,6 +26,7 @@ function getImportSensorKref(impcapdata, i) { test('VO property deletion is not short-circuited', async t => { const config = { + includeDevDependencies: true, // for vat-data bootstrap: 'bootstrap', // defaultReapInterval: 'never', // defaultReapInterval: 1, diff --git a/packages/SwingSet/test/virtualObjects/double-retire-import/test-double-retire-import.js b/packages/SwingSet/test/virtualObjects/double-retire-import/test-double-retire-import.js index 4bbf2966732..04d0d70d05b 100644 --- a/packages/SwingSet/test/virtualObjects/double-retire-import/test-double-retire-import.js +++ b/packages/SwingSet/test/virtualObjects/double-retire-import/test-double-retire-import.js @@ -15,6 +15,7 @@ function bfile(name) { async function testUpgrade(t, defaultManagerType) { const config = { + includeDevDependencies: true, // for vat-data defaultManagerType, bootstrap: 'bootstrap', vats: { diff --git a/packages/SwingSet/test/virtualObjects/test-representatives.js b/packages/SwingSet/test/virtualObjects/test-representatives.js index b60093345bb..ea16cb3705a 100644 --- a/packages/SwingSet/test/virtualObjects/test-representatives.js +++ b/packages/SwingSet/test/virtualObjects/test-representatives.js @@ -26,6 +26,7 @@ function slot0(iface, kid) { test.serial('exercise cache', async t => { const config = { + includeDevDependencies: true, // for vat-data bootstrap: 'bootstrap', vats: { bootstrap: { @@ -350,6 +351,7 @@ test('virtual object gc', async t => { */ const config = { + includeDevDependencies: true, // for vat-data bootstrap: 'bootstrap', defaultManagerType: 'xs-worker', vats: { @@ -403,6 +405,7 @@ test('virtual object gc', async t => { // Check that facets which don't reference their state still kill their cohort alive async function orphanTest(t, mode) { const config = { + includeDevDependencies: true, // for vat-data bootstrap: 'bootstrap', vats: { bob: { diff --git a/packages/SwingSet/test/virtualObjects/test-weakcollections.js b/packages/SwingSet/test/virtualObjects/test-weakcollections.js index fed4d10fd1e..8aae9c85cfa 100644 --- a/packages/SwingSet/test/virtualObjects/test-weakcollections.js +++ b/packages/SwingSet/test/virtualObjects/test-weakcollections.js @@ -17,6 +17,7 @@ function capargs(args, slots = []) { test('weakMap in vat', async t => { const config = { + includeDevDependencies: true, // for vat-data bootstrap: 'bootstrap', vats: { bootstrap: {