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

test(ava-xs): integrate with ses-ava, install-ses-debug #2754

Merged
merged 2 commits into from
Mar 29, 2021
Merged

Conversation

dckc
Copy link
Member

@dckc dckc commented Mar 29, 2021

install-ses-debug installs SES and calls lockdown() with debugging
options. In ava-xs, we avoid installing SES again (since it's already
installed) but we have to set the lockdown() options to match so
that things like error messsages match test expectations.

So we make another copy of the SES bootstrap bundle that calls
lockdown with debugging options.

We also supply a stub @agoric/ses-ava.

fixes: #2753

install-ses-debug installs SES and calls lockdown() with debugging
options. In ava-xs, we avoid installing SES again (since it's already
installed) but we have to set the lockdown() options to match so
that things like error messsages match test expectations.

So we make another copy of the SES bootstrap bundle that calls
lockdown with debugging options.

We also supply a stub `@agoric/ses-ava`.
@dckc dckc requested review from warner, kriskowal and erights March 29, 2021 20:06
Copy link
Member

@warner warner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good to me

@dckc dckc merged commit 41ded30 into master Mar 29, 2021
@dckc dckc deleted the 2753-ses-ava-xs branch March 29, 2021 21:19
@dckc
Copy link
Member Author

dckc commented Mar 29, 2021

hey! did you notice? All XS tests passed!

The one that was failing was intermittent, so it could still be in there, but it was failing pretty regularly in ci.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ses 0.12.5 vs ava-xs tests: Cannot assign to read only property 'hasOwnProperty'
3 participants