Skip to content

Commit

Permalink
fixup! without ses devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Dec 31, 2024
1 parent c52cf30 commit cb1e1f6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 1 addition & 3 deletions packages/no-trapping-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@endo/no-trapping-shim",
"version": "0.1.0",
"private": true,
"description": null,
"description": "shim and ponyfill for no-trapping integrity level",
"keywords": [],
"author": "Endo contributors",
"license": "Apache-2.0",
Expand Down Expand Up @@ -36,8 +36,6 @@
"test:xs": "exit 0"
},
"devDependencies": {
"@endo/lockdown": "workspace:^",
"@endo/ses-ava": "workspace:^",
"ava": "^6.1.3",
"c8": "^7.14.0",
"tsd": "^0.31.2",
Expand Down
5 changes: 4 additions & 1 deletion packages/no-trapping-shim/test/no-trapping-pony.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import test from '@endo/ses-ava/prepare-endo.js';
// Uses 'ava' rather than @endo/ses-ava to avoid worries about cyclic
// dependencies. We will need similar tests is higher level packages, in order
// to test compat with ses and ses-ava.import test from 'ava';
import test from 'ava';
import { ReflectPlus, ProxyPlus } from '../src/no-trapping-pony.js';

const { freeze, isFrozen } = Object;
Expand Down
8 changes: 4 additions & 4 deletions packages/no-trapping-shim/test/no-trapping-shim.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '../src/no-trapping-shim.js';
// TODO make compat with ses and uncomment
// import test from '@endo/ses-ava/prepare-endo.js';
// instead of
// Uses 'ava' rather than @endo/ses-ava to avoid worries about cyclic
// dependencies. We will need similar tests is higher level packages, in order
// to test compat with ses and ses-ava.import test from 'ava';
import test from 'ava';
import '../src/no-trapping-shim.js';

const { freeze, isFrozen } = Object;

Expand Down
2 changes: 0 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@endo/no-trapping-shim@workspace:packages/no-trapping-shim"
dependencies:
"@endo/lockdown": "workspace:^"
"@endo/ses-ava": "workspace:^"
ava: "npm:^6.1.3"
c8: "npm:^7.14.0"
tsd: "npm:^0.31.2"
Expand Down

0 comments on commit cb1e1f6

Please sign in to comment.