Skip to content

Commit

Permalink
fix(xsnap): Handle endo init vetted shims in ava-xs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman authored and kriskowal committed Jun 28, 2022
1 parent fcb8bc9 commit cd7b880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/xsnap/src/avaHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const testRequire = function require(specifier) {
return { wrapTest: test => test };
case '@endo/init':
case '@endo/init/debug.js':
case '@endo/init/pre.js':
return undefined;
case '@agoric/install-metering-and-ses':
console.log('TODO: @agoric/install-metering-and-ses');
Expand Down
1 change: 1 addition & 0 deletions packages/xsnap/src/avaXS.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const externals = [
'@endo/bundle-source',
'@endo/init',
'@endo/init/debug.js',
'@endo/init/pre.js',
'@agoric/install-metering-and-ses',
];

Expand Down

0 comments on commit cd7b880

Please sign in to comment.