Skip to content

Commit

Permalink
fix(ERTP): use install-ses for tests
Browse files Browse the repository at this point in the history
Some ERTP unit tests now use `@agoric/install-ses` to create a SES
environment, rather than `@agoric/evaluate` (which is being removed).
  • Loading branch information
warner committed Jun 26, 2020
1 parent 6b41085 commit 41478e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ERTP/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "exit 0",
"test": "tape -r esm 'test/**/test*.js' | tap-spec",
"test": "tap --no-coverage --jobs=1 'test/**/test*.js'",
"pretty-fix": "prettier --write '**/*.js'",
"pretty-check": "prettier --check '**/*.js'",
"lint-fix": "eslint --fix '**/*.js'",
Expand All @@ -35,7 +35,6 @@
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
"dependencies": {
"@agoric/assert": "^0.0.7",
"@agoric/evaluate": "^2.2.6",
"@agoric/eventual-send": "^0.9.2",
"@agoric/harden": "^0.0.8",
"@agoric/import-manager": "^0.0.6",
Expand All @@ -49,9 +48,10 @@
},
"devDependencies": {
"@agoric/bundle-source": "^1.1.5",
"@agoric/install-ses": "^0.1.0",
"@agoric/swingset-vat": "^0.5.2",
"esm": "^3.2.25",
"tap-spec": "^5.0.0",
"tap": "^14.10.5",
"tape": "^4.11.0",
"tape-promise": "^4.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@agoric/install-ses';
// eslint-disable-next-line import/no-extraneous-dependencies
import { test } from 'tape-promise/tape';
// eslint-disable-next-line import/no-extraneous-dependencies
Expand Down

0 comments on commit 41478e5

Please sign in to comment.