Skip to content

Commit

Permalink
chore(a3p-integration): Remove endo/init/legacy.js from z:acceptance …
Browse files Browse the repository at this point in the history
…ava config

This will hopefully remove noisy `Object <[Object: null prototype] {}>` output.
  • Loading branch information
gibson042 committed Nov 14, 2024
1 parent f8031cb commit 4d3822b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion a3p-integration/proposals/z:acceptance/governance.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* global fetch setTimeout */

import test from 'ava';

import '@endo/init';
import { makeWalletUtils } from '@agoric/client-utils';
import { GOV1ADDR, GOV2ADDR } from '@agoric/synthetic-chain';
import { makeGovernanceDriver } from './test-lib/governance.js';
Expand Down
1 change: 1 addition & 0 deletions a3p-integration/proposals/z:acceptance/kread.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';
import '@endo/init';
import {
provisionSmartWallet,
USER1ADDR as Alice,
Expand Down
3 changes: 2 additions & 1 deletion a3p-integration/proposals/z:acceptance/localchain.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* global setTimeout */

import { agd, evalBundles } from '@agoric/synthetic-chain';
import test from 'ava';
import '@endo/init';
import { agd, evalBundles } from '@agoric/synthetic-chain';
import { retryUntilCondition } from '@agoric/client-utils';

const SUBMISSION_DIR = 'localchaintest-submission';
Expand Down
3 changes: 0 additions & 3 deletions a3p-integration/proposals/z:acceptance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
"@agoric/zone": "portal:../../agoric-sdk/packages/zone"
},
"ava": {
"require": [
"@endo/init/legacy.js"
],
"concurrency": 1,
"serial": true,
"timeout": "2m",
Expand Down
3 changes: 2 additions & 1 deletion a3p-integration/proposals/z:acceptance/psm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* 6 - Make sure mint limit is adhered
*/

import test from 'ava';
import '@endo/init';
import {
agd,
agoric,
Expand All @@ -20,7 +22,6 @@ import {
GOV2ADDR,
} from '@agoric/synthetic-chain';
import { waitUntilAccountFunded } from '@agoric/client-utils';
import test from 'ava';
import { NonNullish } from './test-lib/errors.js';
import {
adjustBalancesIfNotProvisioned,
Expand Down
1 change: 1 addition & 0 deletions a3p-integration/proposals/z:acceptance/valueVow.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-check
/* eslint-env node */
import test from 'ava';
import '@endo/init';
import { inspect } from 'node:util';

import { retryUntilCondition } from '@agoric/client-utils';
Expand Down
2 changes: 1 addition & 1 deletion a3p-integration/proposals/z:acceptance/vaults.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env node */
import test from 'ava';

import '@endo/init';
import { Offers } from '@agoric/inter-protocol/src/clientSupport.js';
import {
adjustVault,
Expand Down
2 changes: 1 addition & 1 deletion a3p-integration/proposals/z:acceptance/wallet.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env node */

import test from 'ava';

import '@endo/init';
import { retryUntilCondition } from '@agoric/client-utils';
import {
agoric,
Expand Down

0 comments on commit 4d3822b

Please sign in to comment.