Skip to content

Commit

Permalink
test: prepare-test-env has to be first
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jan 29, 2025
1 parent e9532e1 commit dc34013
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';

import type { TestFn } from 'ava';
import { eventLoopIteration } from '@agoric/internal/src/testing-utils.js';
import {
Expand Down
1 change: 1 addition & 0 deletions packages/boot/test/bootstrapTests/net-ibc-upgrade.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @file upgrade network / IBC vat at many points in state machine */
import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';

import { makeNodeBundleCache } from '@endo/bundle-source/cache.js';
import type { TestFn } from 'ava';
import { createRequire } from 'module';
Expand Down
1 change: 1 addition & 0 deletions packages/boot/test/bootstrapTests/upgradeAPI.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { test as anyTest } from '@agoric/swingset-vat/tools/prepare-test-env-ava.js';

import type { TestFn } from 'ava';
import path from 'path';
import bundleSource from '@endo/bundle-source';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';

import type { TestFn } from 'ava';
import { eventLoopIteration } from '@agoric/internal/src/testing-utils.js';
import {
makeWalletFactoryContext,
type WalletFactoryTestContext,
Expand Down
3 changes: 2 additions & 1 deletion packages/boot/test/upgrading/upgrade-contracts.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
* @file cribbed from
* packages/zoe/test/swingsetTests/upgradeCoveredCall/test-coveredCall-service-upgrade.js
*/
import { resolve as importMetaResolve } from 'import-meta-resolve';
import { test as anyTest } from '@agoric/swingset-vat/tools/prepare-test-env-ava.js';

import { resolve as importMetaResolve } from 'import-meta-resolve';
import { buildVatController } from '@agoric/swingset-vat';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';

import {
QueryAllBalancesRequest,
QueryAllBalancesResponse,
Expand Down Expand Up @@ -41,7 +43,6 @@ import { eventLoopIteration } from '@agoric/internal/src/testing-utils.js';
import type { IBCMethod } from '@agoric/vats';
import { SIMULATED_ERRORS } from '@agoric/vats/tools/fake-bridge.js';
import { heapVowE as E } from '@agoric/vow/vat.js';
import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';
import { withAmountUtils } from '@agoric/zoe/tools/test-utils.js';
import { decodeBase64 } from '@endo/base64';
import type { EReturn } from '@endo/far';
Expand Down

0 comments on commit dc34013

Please sign in to comment.