Skip to content

Commit 61b2567

Browse files
committed
fix(swingset): test-worker.js: disable XS test until xsnap is ready
1 parent 7fde6a4 commit 61b2567

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

packages/SwingSet/test/workers/test-worker.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import '@agoric/install-ses';
22
import test from 'ava';
3-
import { resolve } from 'path';
4-
import { existsSync } from 'fs';
5-
import { locateWorkerBin } from '@agoric/xs-vat-worker';
63
import { loadBasedir, buildVatController } from '../../src/index';
74

8-
const xsWorkerBin = locateWorkerBin({ resolve });
9-
const maybeTestXS = existsSync(xsWorkerBin) ? test : test.skip;
5+
// The XS worker is disabled until the xsnap-based approach is ready for
6+
// testing. Unlike the old approach, I think we'll build xsnap
7+
// unconditionally, so we won't need the old 'maybeTestXS' conditional.
108

11-
maybeTestXS('xs vat manager', async t => {
9+
test.skip('xs vat manager', async t => {
1210
const config = await loadBasedir(__dirname);
1311
config.vats.target.creationOptions = { managerType: 'xs-worker' };
1412
const c = await buildVatController(config, []);

0 commit comments

Comments
 (0)