Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(swingset-vat): declare deps of testing tools #5232

Merged
merged 1 commit into from
Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/SwingSet/package.json
Expand Up @@ -22,9 +22,7 @@
},
"devDependencies": {
"@agoric/vat-data": "^0.2.0",
"@endo/ses-ava": "^0.2.25",
"@types/tmp": "^0.2.0",
"ava": "^3.12.1",
"tmp": "^0.2.1"
},
"dependencies": {
Expand All @@ -50,6 +48,10 @@
"node-lmdb": "^0.9.5",
"semver": "^6.3.0"
},
"peerDependencies": {
"@endo/ses-ava": "^0.2.25",
"ava": "^3.12.1"
},
"files": [
"bin/vat",
"src/**/*.js",
Expand Down
8 changes: 0 additions & 8 deletions packages/SwingSet/tools/prepare-test-env-ava.js
Expand Up @@ -8,17 +8,9 @@ import '@endo/init/pre-bundle-source.js';

import './prepare-test-env.js';

// eslint-disable-next-line import/no-extraneous-dependencies
import '@endo/ses-ava/exported.js';

// eslint thinks these are extraneous dependencies because this file
// is in the tools/ directory rather than the test/ directory.
// TODO How do we tell eslint that tools/ is dev-only? Either
// that, or should we just move tools/* into test/ ?
//
// eslint-disable-next-line import/no-extraneous-dependencies
import { wrapTest } from '@endo/ses-ava';
// eslint-disable-next-line import/no-extraneous-dependencies
import rawTest from 'ava';

/** @type {typeof rawTest} */
Expand Down