Skip to content

Commit

Permalink
test: move test/test-lib to test-lib. Lint dislikes test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Feb 10, 2025
1 parent f302496 commit d89dde5
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-env node */
// from z:acceptance/test-lib/psm-lib.js
// from z:acceptance/lib/psm-lib.js

import { execa } from 'execa';
import { getNetworkConfig } from 'agoric/src/helpers.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ import {
extractBalance,
psmSwap,
tryISTBalances,
} from './test-lib/psm-lib.js';
import { getBalances, listVaults } from './test-lib/utils.js';
import { walletUtils } from './test-lib/index.js';
} from '../test-lib/psm-lib.js';
import { getBalances, listVaults } from '../test-lib/utils.js';
import { walletUtils } from '../test-lib/index.js';

const WRITE_AGORIC_NAMES_DIR = 'agoricNamesCoreEvals/writeToAgoricNames';
const ADD_USD_OLIVES_DIR = 'generated/agoricNamesCoreEvals/addUsdOlives';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
getAssetList,
swap,
getPSMChildren,
} from './test-lib/mintHolder-helpers.js';
import { networkConfig } from './test-lib/index.js';
} from '../test-lib/mintHolder-helpers.js';
import { networkConfig } from '../test-lib/index.js';

test('verify mintHolder contract upgrade', async t => {
const receiver = await addUser('receiver');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ import {
checkUserProvisioned,
introduceAndProvision,
provision,
} from './test-lib/provision-helpers.js';
import { getIncarnationFromDetails } from './test-lib/utils.js';
} from '../test-lib/provision-helpers.js';
import { getIncarnationFromDetails } from '../test-lib/utils.js';

const PROVISIONING_POOL_ADDR = 'agoric1megzytg65cyrgzs6fvzxgrcqvwwl7ugpt62346';

Expand Down

0 comments on commit d89dde5

Please sign in to comment.