Skip to content

Commit

Permalink
test: remove endo/init/debug
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Aug 16, 2023
1 parent edf9d50 commit 742d81e
Show file tree
Hide file tree
Showing 86 changed files with 0 additions and 99 deletions.
1 change: 0 additions & 1 deletion packages/SwingSet/test/test-bundle-handler.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@endo/init/debug.js';
import test from 'ava';

import {
Expand Down
1 change: 0 additions & 1 deletion packages/SwingSet/test/test-xsnap-store.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
/* global globalThis */
import '@endo/init/debug.js';

import { spawn } from 'child_process';
import fs from 'fs';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-nocheck
/* eslint @typescript-eslint/no-floating-promises: "warn" */
import test from 'ava';
import '@endo/init/debug.js';
import tmp from 'tmp';
import {
initSwingStore,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-nocheck
/* eslint @typescript-eslint/no-floating-promises: "warn" */
import test from 'ava';
import '@endo/init/debug.js';
import { initSwingStore } from '@agoric/swing-store';
import { initializeSwingset, makeSwingsetController } from '../../src/index.js';
import { buildKernelBundle } from '../../src/controller/initializeSwingset.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @ts-nocheck
import '@endo/init/debug.js';
import test from 'ava';
import { initSwingStore } from '@agoric/swing-store';
import { buildVatController } from '../../src/index.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @ts-nocheck
import '@endo/init/debug.js';
import test from 'ava';
import { createHash } from 'crypto';

Expand Down
1 change: 0 additions & 1 deletion packages/agoric-cli/test/test-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import '@agoric/casting/node-fetch-shim.js';
import '@endo/init/pre.js';
import 'esm';
import '@endo/init/debug.js';
import test from 'ava';
import fs from 'fs';
import anylogger from 'anylogger';
Expand Down
2 changes: 0 additions & 2 deletions packages/agoric-cli/test/test-publish-bundle.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// @ts-check
/* eslint-env node */

import '@endo/init/debug.js';

import * as http from 'http';
import test from 'ava';

Expand Down
1 change: 0 additions & 1 deletion packages/base-zone/test/prepare-test-env-ava.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import '@endo/init/debug.js';

import test from 'ava';

Expand Down
1 change: 0 additions & 1 deletion packages/cosmic-swingset/test/test-clean-core-eval.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@endo/init/debug.js';
import test from 'ava';
import {
defangEvaluableCode,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* global setTimeout */
import '@endo/init/debug.js';
import test from 'ava';

// Use ambient authority only in test.before()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable ava/assertion-arguments -- the standard diff is unreadable */
// eslint-disable-next-line import/no-extraneous-dependencies
import '@endo/init/debug.js';
import test from 'ava';
import { buildVatController, buildKernelBundles } from '@agoric/swingset-vat';
import bundleSource from '@endo/bundle-source';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@endo/init/debug.js';
import { test } from '@agoric/swingset-vat/tools/prepare-test-env-ava.js';
import path from 'path';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Must be first to set up globals
import '@endo/init/debug.js';
// Consider ses-ava once https://github.com/endojs/endo/issues/1235 is resolved
import test from 'ava';

Expand Down
1 change: 0 additions & 1 deletion packages/internal/test/test-netstring.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* global Buffer */
import '@endo/init/debug.js';
import test from 'ava';

import {
Expand Down
1 change: 0 additions & 1 deletion packages/internal/test/test-priority-senders.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check
import test from 'ava';
import '@endo/init/debug.js';

import { makeFakeStorageKit } from '../src/storage-test-utils.js';
import { HIGH_PRIORITY_SENDERS } from '../src/chain-storage-paths.js';
Expand Down
1 change: 0 additions & 1 deletion packages/internal/test/test-storage-test-utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check
import test from 'ava';
import '@endo/init/debug.js';
import { Far } from '@endo/far';
import { makeMarshal } from '@endo/marshal';

Expand Down
2 changes: 0 additions & 2 deletions packages/store/test/perf-patterns.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '@endo/init/debug.js';

import { Far, makeTagged } from '@endo/marshal';
import {
makeCopyBag,
Expand Down
2 changes: 0 additions & 2 deletions packages/store/test/prepare-test-env-ava.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '@endo/init/debug.js';

import { wrapTest } from '@endo/ses-ava';
import rawTest from 'ava';

Expand Down
1 change: 0 additions & 1 deletion packages/store/test/test-AtomicProvider.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-use-before-define */
import '@endo/init/debug.js';

import test from 'ava';
import { Far } from '@endo/marshal';
Expand Down
1 change: 0 additions & 1 deletion packages/store/test/test-store.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-use-before-define */
import '@endo/init/debug.js';

import test from 'ava';

Expand Down
1 change: 0 additions & 1 deletion packages/swing-store/test/test-bundles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @ts-check
import '@endo/init/debug.js';
import test from 'ava';
import tmp from 'tmp';
import { Buffer } from 'buffer';
Expand Down
1 change: 0 additions & 1 deletion packages/swing-store/test/test-deletion.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check
import test from 'ava';
import '@endo/init/debug.js';
import { Buffer } from 'node:buffer';
import { initSwingStore } from '../src/swingStore.js';

Expand Down
2 changes: 0 additions & 2 deletions packages/swing-store/test/test-export.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '@endo/init/debug.js';

import test from 'ava';

import { buffer } from '../src/util.js';
Expand Down
1 change: 0 additions & 1 deletion packages/swing-store/test/test-exportImport.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check

import '@endo/init/debug.js';
import { Buffer } from 'node:buffer';

import test from 'ava';
Expand Down
1 change: 0 additions & 1 deletion packages/swing-store/test/test-hasher.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@endo/init/debug.js';
import test from 'ava';

// eslint-disable-next-line import/order
Expand Down
2 changes: 0 additions & 2 deletions packages/swing-store/test/test-import.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// @ts-check

import '@endo/init/debug.js';

import path from 'path';
import { createGunzip } from 'zlib';
import { Readable } from 'stream';
Expand Down
2 changes: 0 additions & 2 deletions packages/swing-store/test/test-repair-metadata.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// @ts-check

import '@endo/init/debug.js';

import path from 'path';
import test from 'ava';
import sqlite3 from 'better-sqlite3';
Expand Down
1 change: 0 additions & 1 deletion packages/swing-store/test/test-snapstore.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check

import '@endo/init/debug.js';
import { Buffer } from 'node:buffer';
import zlib from 'zlib';
import sqlite3 from 'better-sqlite3';
Expand Down
2 changes: 0 additions & 2 deletions packages/swing-store/test/test-state.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// @ts-check

import '@endo/init/debug.js';

import tmp from 'tmp';
import test from 'ava';

Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/storeGC/test-lifecycle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import {
setupTestLiveslots,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import {
findSyscallsByType,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { setupTestLiveslots } from '../liveslots-helpers.js';
import { buildRootObject, mapRef } from '../gc-helpers.js';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/storeGC/test-weak-key.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { setupTestLiveslots } from '../liveslots-helpers.js';
import {
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-baggage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { setupTestLiveslots } from './liveslots-helpers.js';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-cache.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { makeCache } from '../src/cache.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { makeLiveSlots } from '../src/liveslots.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { M } from '@agoric/store';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-collections.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { M } from '@agoric/store';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';
import { Far } from '@endo/marshal';
import { makeLiveSlots } from '../src/liveslots.js';
import { kser } from './kmarshal.js';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-durabilityChecks.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { makeFakeVirtualStuff } from '../tools/fakeVirtualSupport.js';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-facetiousness.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '@endo/init/debug.js';
import test from 'ava';
import {
assessFacetiousness,
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-gc-sensitivity.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';
import { Far } from '@endo/marshal';
import { buildSyscall } from './liveslots-helpers.js';
import { makeLiveSlots } from '../src/liveslots.js';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-handled-promises.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { Fail } from '@agoric/assert';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-initial-vrefs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/far';
import { M } from '@agoric/store';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-liveslots-mock-gc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { makeLiveSlots } from '../src/liveslots.js';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-liveslots-real-gc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-nocheck
/* global WeakRef */
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { makePromiseKit } from '@endo/promise-kit';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-liveslots.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import { E } from '@endo/eventual-send';
import { Far } from '@endo/marshal';
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-vo-test-harness.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';
import { runVOTest } from '../tools/vo-test-harness.js';

async function voTestTest(t, mode) {
Expand Down
1 change: 0 additions & 1 deletion packages/swingset-liveslots/test/test-vpid-liveslots.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import { E } from '@endo/eventual-send';
import { makePromiseKit } from '@endo/promise-kit';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-nocheck
/* global FinalizationRegistry WeakRef */
import test from 'ava';
import '@endo/init/debug.js';

import { buildSyscall } from '../liveslots-helpers.js';
import { makeVirtualReferenceManager } from '../../src/virtualReferences.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { makeFakeVirtualObjectManager } from '../../tools/fakeVirtualSupport.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { makeFakeVirtualObjectManager } from '../../tools/fakeVirtualSupport.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';

import { makeFakeVirtualObjectManager } from '../../tools/fakeVirtualSupport.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';
import { Far } from '@endo/marshal';
import { makeFakeVirtualStuff } from '../../tools/fakeVirtualSupport.js';
import { makeLiveSlots } from '../../src/liveslots.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import { Remotable } from '@endo/marshal';
import { initEmpty } from '@agoric/store';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import test from 'ava';
import '@endo/init/debug.js';
// this sets process.env.DEBUG = 'label-instances'
import './set-debug-label-instances.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-nocheck
/* global WeakRef */
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { initEmpty } from '@agoric/store';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import { M } from '@agoric/store';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import { Far } from '@endo/marshal';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-nocheck
import test from 'ava';
import '@endo/init/debug.js';

import {
makeFakeVirtualObjectManager,
Expand Down
Loading

0 comments on commit 742d81e

Please sign in to comment.