Skip to content

Commit

Permalink
chore(types): rm extra ambient imports
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed May 18, 2024
1 parent 58dba55 commit 2844e7c
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions packages/notifier/test/notifier-examples.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
} from '../src/index.js';
import { paula, alice, bob } from './iterable-testing-tools.js';

import '../src/types.js';

const last = array => array[array.length - 1];

test('notifier for-await-of success example', async t => {
Expand Down
1 change: 0 additions & 1 deletion packages/notifier/test/publish-kit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
subscribeLatest,
prepareDurablePublishKit,
} from '../src/index.js';
import '../src/types.js';
import { invertPromiseSettlement } from './iterable-testing-tools.js';

/**
Expand Down
2 changes: 0 additions & 2 deletions packages/notifier/test/subscriber-examples.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
} from '../src/index.js';
import { paula, alice, bob, carol } from './iterable-testing-tools.js';

import '../src/types.js';

test('subscription for-await-of success example', async t => {
const { publication, subscription } = makeSubscriptionKit();
paula(publication);
Expand Down
2 changes: 0 additions & 2 deletions packages/store/test/AtomicProvider.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { setTimeout } from 'timers';
import { makeScalarMapStore } from '../src/stores/scalarMapStore.js';
import { makeAtomicProvider } from '../src/stores/store-utils.js';

import '../src/types.js';

test('race', async t => {
const store = makeScalarMapStore('foo');
const provider = makeAtomicProvider(store);
Expand Down
2 changes: 0 additions & 2 deletions packages/store/test/store.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { makeScalarSetStore } from '../src/stores/scalarSetStore.js';
import { makeScalarWeakMapStore } from '../src/stores/scalarWeakMapStore.js';
import { provideLazy } from '../src/stores/store-utils.js';

import '../src/types.js';

function check(t, mode, objMaker) {
// Check the full API, and make sure object identity isn't a problem by
// creating two potentially-similar things for use as keys.
Expand Down
1 change: 0 additions & 1 deletion packages/vats/test/network.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { prepareVowTools } from '@agoric/vow/vat.js';
import { buildRootObject as ibcBuildRootObject } from '../src/vat-ibc.js';
import { buildRootObject as networkBuildRootObject } from '../src/vat-network.js';

import '../src/types.js';
import { registerNetworkProtocols } from '../src/proposals/network-proposal.js';

const { fakeVomKit } = reincarnate({ relaxDurabilityRules: false });
Expand Down
2 changes: 0 additions & 2 deletions packages/wallet/api/test/getPursesNotifier.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import {
} from '@agoric/vats/src/nameHub.js';
import { makeWalletRoot } from '../src/lib-wallet.js';

import '../src/types-ambient.js';

const mixinMyAddress = prepareMixinMyAddress(makeHeapZone());

function makeFakeMyAddressNameAdmin() {
Expand Down
2 changes: 0 additions & 2 deletions packages/wallet/api/test/lib-wallet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import { resolve as importMetaResolve } from 'import-meta-resolve';
import { makeHeapZone } from '@agoric/zone';
import { makeWalletRoot } from '../src/lib-wallet.js';

import '../src/types-ambient.js';

const ZOE_INVITE_PURSE_PETNAME = 'Default Zoe invite purse';

const mixinMyAddress = prepareMixinMyAddress(makeHeapZone());
Expand Down
2 changes: 0 additions & 2 deletions packages/zoe/test/unitTests/contractSupport/ratio.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { test } from '@agoric/swingset-vat/tools/prepare-test-env-ava.js';

import '../../../src/contractSupport/types-ambient.js';

import { makeIssuerKit, AmountMath } from '@agoric/ertp';
import {
makeRatio,
Expand Down

0 comments on commit 2844e7c

Please sign in to comment.