From a886f412ccb7cfc8b05cdf4f186e0feaae7ac104 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 24 Jul 2021 16:42:21 -0700 Subject: [PATCH] chore(spawner): update one test to use prepare-test-env-ava.js This improves the error messages when something goes wrong. --- .../test/swingsetTests/contractHost/test-contractHost.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/spawner/test/swingsetTests/contractHost/test-contractHost.js b/packages/spawner/test/swingsetTests/contractHost/test-contractHost.js index e806a661ce8..4dd218386fe 100644 --- a/packages/spawner/test/swingsetTests/contractHost/test-contractHost.js +++ b/packages/spawner/test/swingsetTests/contractHost/test-contractHost.js @@ -1,9 +1,7 @@ /* global __dirname */ -// TODO Remove babel-standalone preinitialization -// https://github.com/endojs/endo/issues/768 -import '@agoric/babel-standalone'; -import '@agoric/install-ses'; -import test from 'ava'; +// eslint-disable-next-line import/order +import { test } from '@agoric/swingset-vat/tools/prepare-test-env-ava.js'; +// eslint-disable-next-line import/order import path from 'path'; import bundleSource from '@agoric/bundle-source'; import {